Re: MM deadlock [was: Re: arca-vm-8...]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 12 Jan 1999 12:55:22 +0000 (GMT)


> The problem is that "owner" can be stale, and can be updated outside the
> semaphore spinlock by a successful down() - which means that there are no
> synchronizing primitives there to guarantee that the slow part sees the
> new owner.

The only instruction I can see that can adjust both the count and owner
together is cmpxchg8, and I don't see a good way to use it.

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/