Re: [patch] make wake-affine a sysctl variable

From: Ken Chen
Date: Fri Dec 05 2008 - 03:45:09 EST


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)
--
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/