• Steven Rostedt's avatar
    sched: do not account for NMIs · 2a7b8df0
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    2a7b8df0
hardirq.h 5.42 KB