From: Peter Zijlstra on 24 Jun 2010 02:10 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? Quite revolting. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Huang Ying on 24 Jun 2010 02:50 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: kernel: add bl_list Next: Use NMI return notifier in perf pending |