diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-12 20:16:46 +0100 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-12 20:16:46 +0100 |
commit | 2a7b8df04c11a70105c1abe67d006455d3bdc944 (patch) | |
tree | b4b709bbed075c909b8219148a6b94e6f0c3140d /fs/minix | |
parent | preempt-count: force hardirq-count to max of 10 (diff) | |
download | linux-2a7b8df04c11a70105c1abe67d006455d3bdc944.tar.xz linux-2a7b8df04c11a70105c1abe67d006455d3bdc944.zip |
sched: do not account for NMIs
Impact: avoid corruption in system time accounting
Martin Schwidefsky told me that there was an issue with NMIs and
system accounting. The problem is that the accounting code is
not reentrant, and if an NMI goes off after an interrupt it can
corrupt the accounting.
For now, the best we can do is to treat NMIs like SMIs and they
are not accounted for.
This patch changes nmi_enter to not call __irq_enter and to do
the preempt-count and tracing calls directly.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions