Re: [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
- From: Andi Kleen <ak@xxxxxxx>
- Date: Wed, 10 May 2006 11:28:57 +0200
On Tue, May 09, 2006 at 04:50:43PM -0400, dzickus wrote:
Adds a new /proc/sys/kernel/nmi call that will enable/disable the nmi
watchdog.
This means you can at runtime enable/disbale nmi_watchdog, i.e., reserve
some performance counters on the fly. This gets complicated because now
the perfmon subsystem
Right now we don't care about perfmon at all because it's not in (x86) mainline
If you want anybody to care you have to submit and pass review
(and probably oprofile) cannot check register
availability when they are first initialized. Basically each time,
the /sys entry is modified, they would have to scan the list of available
performance counters. I don't know exactly when Oprofile does this checking.
For perfmon, this is done only once, when the PMU description table is loaded.
I think the NMI watchdog will fail if the register is already allocated.
oprofile should check and allocate when it fills in the register.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 0/8] [RFC PATCH] nmi watchdog: x86 32/64 cleanup
- From: dzickus
- [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
- From: dzickus
- Re: [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
- From: Stephane Eranian
- [patch 0/8] [RFC PATCH] nmi watchdog: x86 32/64 cleanup
- Prev by Date: [RFC][PATCH RT 2/2] futex-use-prio-list
- Next by Date: Re: [PATCH] smbfs: Fix slab corruption in samba error path
- Previous by thread: Re: [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
- Next by thread: Re: [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
- Index(es):
Relevant Pages
|