Re: [RFC/PATCH] sched: Honor sync wake up in select_idle_sibling

2012-08-10 Thread Namhyung Kim
Hi, Mike On Fri, 10 Aug 2012 10:14:44 +0200, Mike Galbraith wrote: > On Fri, 2012-08-10 at 16:25 +0900, Namhyung Kim wrote: >> From: Namhyung Kim >> >> When sync wakeup happens and there's the waker task running alone, >> select the target cpu as if it's already idle. > > Ouch. That defeats th

Re: [RFC/PATCH] sched: Honor sync wake up in select_idle_sibling

2012-08-10 Thread Mike Galbraith
On Fri, 2012-08-10 at 16:25 +0900, Namhyung Kim wrote: > From: Namhyung Kim > > When sync wakeup happens and there's the waker task running alone, > select the target cpu as if it's already idle. Ouch. That defeats the purpose of select_idle_sibling(). Just because we're doing a sync wakeup d

[RFC/PATCH] sched: Honor sync wake up in select_idle_sibling

2012-08-10 Thread Namhyung Kim
From: Namhyung Kim When sync wakeup happens and there's the waker task running alone, select the target cpu as if it's already idle. Cc: Mike Galbraith Cc: Suresh Siddha Signed-off-by: Namhyung Kim --- kernel/sched/fair.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) dif