]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: Fix softirq accounting with 4K stacks
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Sun, 25 Jun 2006 14:24:40 +0000 (16:24 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 18:32:44 +0000 (11:32 -0700)
commit684123422da7525dfa6b76b0bf1bba748cee7121
tree152d75b3ecda85427a92808ec363bc4d1c9bd243
parent7c7980efe128434b58cd1298713d2883a6436216
[PATCH] i386: Fix softirq accounting with 4K stacks

Copy the softirq bits in preempt_count from the current context into the
hardirq context when using 4K stacks to make the softirq_count macro work
correctly and thereby fix softirq cpu time accounting.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/irq.c