Re: Linux Trace Toolkit

Karim Yaghmour (karym@info.polymtl.ca)
Mon, 23 Aug 1999 14:35:09 -0400


"B. James Phillippe" wrote:
> Spinlocks are the _only_ kind of lock that is safe to use in an interrupt
> handler. Provided (as with any place you use them) that you are only
> spinning for a very small amount of time.

Agreed. Although I'll have to test it to see if the amount of time spining
doesn't have a negative impact on the system or, in the worst case, failure
to handle interrupts correctly.

==============================================
Karim Yaghmour
karym@info.polymtl.ca
Computer Engineer
Ecole Polytechnique de Montreal
==============================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/