Re: [PATCH v4 6/6] sched/fair: Remove double_lock_balance() from load_balance()

2014-08-12 Thread Kirill Tkhai
В Вт, 12/08/2014 в 11:36 +0200, Peter Zijlstra пишет: > > Changed quite a bit around, _should_ be more or less the same end result > I suppose. Only compile tested so far. No objections. I've tested it in a virtual machine; simple "make -jxx" test passed. > > --- > Subject: sched/fair: Remove d

Re: [PATCH v4 6/6] sched/fair: Remove double_lock_balance() from load_balance()

2014-08-12 Thread Peter Zijlstra
Changed quite a bit around, _should_ be more or less the same end result I suppose. Only compile tested so far. --- Subject: sched/fair: Remove double_lock_balance() from load_balance() From: Kirill Tkhai Date: Wed, 6 Aug 2014 12:07:04 +0400 Avoid double_rq_lock() and use ONRQ_MIGRATING for lo

[PATCH v4 6/6] sched/fair: Remove double_lock_balance() from load_balance()

2014-08-06 Thread Kirill Tkhai
Keep on_rq = ONRQ_MIGRATING, while task is migrating, instead. Signed-off-by: Kirill Tkhai --- kernel/sched/fair.c | 99 --- 1 file changed, 70 insertions(+), 29 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index cfeafb1.