Re: [RFC 1/5] Make soft_irq NMI safe

Huang Ying
2010-06-24T06:46:04Z

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