Re: SMP problem with (en|dis)able_bh().

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 13 Jan 1999 16:09:39 +0000 (GMT)


> It is a scholar example of resource competition which requires mutual
> exclusion if the resources are to remain consistent. The problem is
> "hidden" in the fact that once the processor B decreases the count
> to zero and thus decides it is going to set the bit in the mask, it will
> do it, and nothing is going to prevent it, even if A would use
> disable_bh() gazillion times meanwhile...

Yes - I think you are right now I've looked harder at it

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