[lkml]   [2011]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: current_thread_info() vs task_thread_info(current)
    On Mon, 2011-07-18 at 17:39 -0700, Paul E. McKenney wrote:
    > > Hrm, no I don't see that happening no. The preempt count when
    > exiting an
    > > irq or softirq stack should be the exact same as when entering it,
    > which
    > > is why we don't bother copying it over. Do you see any case where
    > that
    > > wouldn't hold ?
    > Nope, other than seeing preempt_count() transition from zero to three
    > across a spin_unlock_irqrestore() for no good reason that I could see.

    Do you have a nice repro-case ? :-)

    That sounds really nasty ... smells really like something bad's
    happening from an interrupt, but we don't copy back the preempt-count
    from the interrupt stacks at all, so that's really really odd.


     \ /
      Last update: 2011-07-19 03:03    [W:0.022 / U:6.208 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site