• S
    sched: do not account for NMIs · 2a7b8df0
    Steven Rostedt 提交于
    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: NSteven Rostedt <srostedt@redhat.com>
    2a7b8df0
hardirq.h 5.4 KB