lkml.org 
[lkml]   [2001]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] improve spinlock debugging
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site