Re: [Fwd: problem involving wait_on_bh]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 19 Dec 1999 14:40:08 +0000 (GMT)


> which does the "cli ()" BEFORE grabbing the lock. (instead of thinking
> that there is something that can be done with interrupts enabled, but
> wiht the lock taken) right?

Wrong. Its much better for performance to think and do it right. If you miss
an unlock your box is dead anyway

Alan

-
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/