[PATCH] x86: Add abilty to enable/disable nmi watchdog from procfs (update)
authorDon Zickus <dzickus@redhat.com>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:27 +0000 (10:52 +0200)
commite33e89ab1a8d295de0500b697f4f31c3ceee9aa2
tree51a7955a1a67f65169278a97d3d54305cb18e8ae
parent407984f1af259b31957c7c05075a454a751bb801
[PATCH] x86: Add abilty to enable/disable nmi watchdog from procfs (update)

Adds a new /proc/sys/kernel/nmi_watchdog call that will enable/disable the
nmi watchdog.

By entering a non-zero value here, a user can enable the nmi watchdog to
monitor the online cpus in the system.  By entering a zero value here, a
user can disable the nmi watchdog and free up a performance counter which
could then be utilized by the oprofile subsystem, otherwise oprofile may be
short a counter when in use.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Documentation/filesystems/proc.txt
arch/i386/kernel/nmi.c
arch/x86_64/kernel/nmi.c