mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/
@ 2007-08-12 10:23 Oleg Nesterov
  2007-08-12 10:36 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2007-08-12 10:23 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Mike Galbraith, linux-kernel

rebalance_domains(SCHED_IDLE) looks strange (typo?), change it to CPU_IDLE.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

--- t/kernel/sched.c~	2007-08-09 19:59:27.000000000 +0400
+++ t/kernel/sched.c	2007-08-12 14:15:37.000000000 +0400
@@ -3090,7 +3090,7 @@ static void run_rebalance_domains(struct
 			if (need_resched())
 				break;
 
-			rebalance_domains(balance_cpu, SCHED_IDLE);
+			rebalance_domains(balance_cpu, CPU_IDLE);
 
 			rq = cpu_rq(balance_cpu);
 			if (time_after(this_rq->next_balance, rq->next_balance))


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/
  2007-08-12 10:23 [PATCH] run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/ Oleg Nesterov
@ 2007-08-12 10:36 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2007-08-12 10:36 UTC (permalink / raw)
  To: Oleg Nesterov; +Cc: Mike Galbraith, linux-kernel


* Oleg Nesterov <oleg@tv-sign.ru> wrote:

> rebalance_domains(SCHED_IDLE) looks strange (typo?), change it to 
> CPU_IDLE.

indeed! Sharp eyes :) I've applied your patch.

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-12 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-12 10:23 [PATCH] run_rebalance_domains: s/SCHED_IDLE/CPU_IDLE/ Oleg Nesterov
2007-08-12 10:36 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®