diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-24 20:39:10 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-24 20:39:10 +0200 |
commit | 71fd37146385c8255bfd370f33ca81fe8c81e5a5 (patch) | |
tree | 63ef23a5290202c5619d7e3f3f9428d29d5b7db1 /kernel/sched.c | |
parent | 7c6c16f354cde4a48bd305b2587fc78257bcb936 (diff) |
sched: remove HZ dependency from the granularity default
remove HZ dependency from the granularity default. Use 10 msec for
the base granularity, 1 msec for wakeup granularity and 25 msec for
batch wakeup granularity. (These defaults are close to the values
that the default HZ=250 setting got previously, and thus it's the
most common setting.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 96e9b82246d..e95ff22ed17 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -4923,7 +4923,7 @@ static inline void sched_init_granularity(void) if (sysctl_sched_granularity > gran_limit) sysctl_sched_granularity = gran_limit; - sysctl_sched_runtime_limit = sysctl_sched_granularity * 8; + sysctl_sched_runtime_limit = sysctl_sched_granularity * 5; sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2; } |