| Date | Tue, 10 Sep 2013 15:27:24 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 6/7] sched, x86: Provide a per-cpu preempt_count implementation |
| |
On Tue, Sep 10, 2013 at 03:08:17PM +0200, Peter Zijlstra wrote: > @@ -1095,6 +1095,9 @@ DEFINE_PER_CPU(char *, irq_stack_ptr) = > > DEFINE_PER_CPU(unsigned int, irq_count) __visible = -1; > > +DEFINE_PER_CPU(int, __preempt_count) = INIT_PREEMPT_COUNT; > +EXPORT_PER_CPU_SYMBOL(__preempt_count); > +
Note that afaict this patch takes away the reason irq_count exists.
|