]> err.no Git - linux-2.6/commit
[PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 30 Oct 2005 22:59:40 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:13 +0000 (17:37 -0800)
commit29b70081f7cb094513d5189e82d3478b50777a28
treed992aa91eeae9ac79265dd0ead0d7cc5a48f31f1
parentfcfd636a728fe2b8fb8c8fd8c557302059580577
[PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64

The per cpu nmi watchdog timer is based on an event counter.  idle cpus
don't generate events so the NMI watchdog doesn't fire and the test to see
if the watchdog is working fails.

- Add nmi_cpu_busy so idle cpus don't mess up the test.
- kmalloc prev_nmi_count to keep kernel stack usage bounded.
- Improve the error message on failure so there is enough
  information to debug problems.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/nmi.c