]> git.hungrycats.org Git - linux/commit
[PATCH] sched: improved resolution in find_busiest_node
authorAndrew Morton <akpm@osdl.org>
Mon, 10 May 2004 06:23:42 +0000 (23:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 10 May 2004 06:23:42 +0000 (23:23 -0700)
commit067e0480fda41baaf5b6b2d8c2066848e775d457
tree161dca85c166dabcd4645e48345fd89dd6f96915
parent4f20771c44e8c2e5ce6ca0b62293f71397230b8f
[PATCH] sched: improved resolution in find_busiest_node

From: Nick Piggin <piggin@cyberone.com.au>

From: Frank Cornelis <frank.cornelis@elis.ugent.be>

In order to get the best possible resolution we need to use NR_CPUS instead
of the constant value 10.  load is an int, so no need to worry about
overflows...
kernel/sched.c