Nick Piggin e17224bf1d [PATCH] sched: less locking
During periodic load balancing, don't hold this runqueue's lock while
scanning remote runqueues, which can take a non trivial amount of time
especially on very large systems.

Holding the runqueue lock will only help to stabilise ->nr_running, however
this doesn't do much to help because tasks being woken will simply get held
up on the runqueue lock, so ->nr_running would not provide a really
accurate picture of runqueue load in that case anyway.

What's more, ->nr_running (and possibly the cpu_load averages) of remote
runqueues won't be stable anyway, so load balancing is always an inexact
operation.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-10 10:06:23 -07:00
..
2005-09-08 01:45:47 -04:00
2005-09-09 13:57:55 -07:00
2005-09-09 13:57:55 -07:00
2005-09-07 16:57:33 -07:00
2005-07-27 16:25:51 -07:00
2005-09-10 10:06:21 -07:00
2005-09-07 16:57:45 -07:00
2005-09-09 13:57:54 -07:00
2005-09-07 16:57:45 -07:00
2005-09-10 10:06:23 -07:00
2005-07-30 10:49:59 -07:00
2005-09-07 16:57:17 -07:00
2005-09-10 10:06:21 -07:00
2005-08-01 10:03:56 -07:00
2005-08-29 16:01:32 -07:00
2005-07-12 20:38:38 -07:00
2005-09-07 16:57:45 -07:00