touch_nmi_watchdog (was: page fault scalability patch V11 [0/7]:overview)

From: Nick Piggin
Date: Sat Nov 20 2004 - 02:48:53 EST


Nick Piggin wrote:

(2) NMI's don't nest. There is no possibility of NMI's racing against
themselves while the data is per-cpu.


Your point was that touch_nmi_watchdog() which resets alert_counter,
is racy when resetting the counter of other CPUs. Yes it is racy.
It is also racy against the NMI on the _current_ CPU.

Hmm no I think you're right in that it is only a problem WRT the remote
CPUs. However that would still be a problem, as the comment in i386
touch_nmi_watchdog attests.
-
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/