[lkml]   [2002]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] NMI request/release, version 4
Dipankar Sarma wrote:

>Ok, some more comments -
>On Wed, Oct 23, 2002 at 03:14:52PM -0500, Corey Minyard wrote:
>Can release_nmi() be done from irq context ? If not, I don't see
>why spin_lock_irqsave() is required here. If it can be called
>from irq context, then I can't see how you can schedule()
>(or wait_for_completion() for that matter :)).
I originally was using nmi_handler_lock in the rcu routine (which runs
at interrupt level). You have to turn off interrupts if someone else
can claim the lock at interrupt level. However, I"m not any more, so it
can go away.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.289 / U:3.748 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site