1) Couldn't this code determine the active process and remove the active
memory pages from use? (although you'd definatly want this as an option...
I see that some powersaving modes also generate an NMI!)
2) This, of course, wouldn't be good if it happened in the kernel space, at
which point it should panic.
3) On that note, we all know and love the kernel processes (nfsiod,
bdflush), what about one that periodicly did a checksum of the kernel code
region (and itself)? This wouldn't work if there's any self modifying code
in the kernel though... :-( A damaged kernel could conceivably be worse
than a panic.
Of course, given the frequency that this occurs, I don't know how much
effort and kernel bloat should be dedicated to it.
-Rob H.