lkml.org 
[lkml]   [2013]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.


    \
     
     \ /
      Last update: 2013-09-10 22:41    [W:4.023 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site