]> git.baikalelectronics.ru Git - kernel.git/commit
uml: an idle system should have zero load average
authorJeff Dike <jdike@addtoit.com>
Tue, 8 May 2007 07:23:22 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:57 +0000 (11:14 -0700)
commitdae239667dd60e4baff73f25e85ba0f0bd953a44
tree90824b20483a9e769d038ffb47b05233838e6007
parent9beba5c8268204e6ad38c14970ff76b4906b8975
uml: an idle system should have zero load average

The ever-vigilant users of linode.com noticed that an idle 2.6 UML has a
persistent load average of ~.4.

It turns out that because the UML timer handler processed softirqs before
actually delivering the tick, the tick was counted in the context of the idle
thread about half the time.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/time.c