Re: [patch 20/23] add /proc/sys/kernel/timeout_granularity

From: Andrew Morton
Date: Sat Sep 30 2006 - 04:50:00 EST


On Fri, 29 Sep 2006 23:58:39 -0000
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> From: Ingo Molnar <mingo@xxxxxxx>
>
> Introduce timeout granularity: process timer wheel timers every
> timeout_granularity jiffies. Defaults to 1 (process timers HZ times
> per second - most finegrained).
>
> ...
>
> + timeout_granularity=
> + [KNL]
> + Timeout granularity: process timer wheel timers every
> + timeout_granularity jiffies. Defaults to 1 (process
> + timers HZ times per second - most finegrained).
> +

Please do not expose HZ to userspace in this fashion. It means that an
application which was developed and tested on a 1000Hz kernel might fail on a
250Hz kernel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/