Re: [PATCH] improve spinlock debugging

From: george anzinger (george@mvista.com)
Date: Tue Dec 04 2001 - 16:27:52 EST


Nigel Gamble wrote:
>
> On Tue, 4 Dec 2001, george anzinger wrote:
> > For example, preemption currently counts
> > up on spin_lock and disable irq, counting the spin_lockirq twice. In
>
> That's not correct: we don't count it twice because we don't count
> local_irq_disable etc., only the spin locks. Because...
>
> > (Oh, and since the irq
> > inhibits preemption all by itself, we don't need to count it either.)
>
> ...so we don't.

Right, but we do count spin_lockirq (just once). See other email, this
time.

-- 
George           george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:26 EST