Messages in this thread Patch in this message | | | Date | Fri, 5 Dec 2008 00:44:52 -0800 | Subject | Re: [patch] make wake-affine a sysctl variable | From | Ken Chen <> |
| |
On Thu, Dec 4, 2008 at 11:49 PM, Peter Zijlstra wrote: > This patch looks like utter rubbish, sorry.
Yeah, I think turning off wake-affine completely is a lot cleaner and is a preferred solution. I proposed sysctl variable earlier so that it can give people a knob to adjust and is more flexible.
diff --git a/kernel/sched_features.h b/kernel/sched_features.h index da5d93b..c712958 100644 --- a/kernel/sched_features.h +++ b/kernel/sched_features.h @@ -2,7 +2,7 @@ SCHED_FEAT(NEW_FAIR_SLEEPERS, 1) SCHED_FEAT(NORMALIZED_SLEEPER, 1) SCHED_FEAT(WAKEUP_PREEMPT, 1) SCHED_FEAT(START_DEBIT, 1) -SCHED_FEAT(AFFINE_WAKEUPS, 1) +SCHED_FEAT(AFFINE_WAKEUPS, 0) SCHED_FEAT(CACHE_HOT_BUDDY, 1) SCHED_FEAT(SYNC_WAKEUPS, 1) SCHED_FEAT(HRTICK, 0)
| |