lkml.org 
[lkml]   [2010]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 1/5] Make soft_irq NMI safe
From
Date
On Thu, 2010-06-24 at 14:09 +0800, Peter Zijlstra wrote:
> On Thu, 2010-06-24 at 11:04 +0800, Huang Ying wrote:
> > +#define __raise_softirq_preempt_off(nr) \
> > + do { set_bit(nr, (unsigned long *)local_softirq_pending()); } while (0)
>
> So that is the reason for that insane local_softirq_pending()
> definition?

I need to change local_softirq_pending() for this and the xchg() in
__do_softirq().

Best Regards,
Huang Ying




\
 
 \ /
  Last update: 2010-06-24 08:49    [from the cache]
©2003-2011 Jasper Spaans