lkml.org 
[lkml]   [2006]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86_64: add nmi_exit to die_nmi
Date
On Thursday 27 April 2006 19:55, Corey Minyard wrote:
> Playing with NMI watchdog on x86_64, I discovered that it didn't
> do what I expected. It always panic-ed, even when it didn't
> happen from interrupt context.

Hmm, I don't think that's true. Or at least it worked at some point.
Ok maybe something regressed.


> This patch solves that
> problem for me. Also, in this case, do_exit() will be called
> with interrupts disabled, I believe. Would it be wise to also
> call local_irq_enable() after nmi_exit()?


Probably yes. I added that with the the patch.

Thanks,
-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-29 13:07    [W:0.024 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site