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

Savochkin Andrey Vladimirovich (saw@msu.ru)
Sun, 10 Jan 1999 14:56:18 +0300


On Sat, Jan 09, 1999 at 01:50:14PM -0800, Linus Torvalds wrote:
>
>
> On Sat, 9 Jan 1999, Linus Torvalds wrote:
> >
> > The cleanest solution I can think of is actually to allow semaphores to be
> > recursive. I can do that with minimal overhead (just one extra instruction
> > in the non-contention case), so it's not too bad, and I've wanted to do it
> > for certain other things, but it's still a nasty piece of code to mess
> > around with.
> >
> > Oh, well. I don't think I have much choice.

Well, doesn't semaphore recursion mean that the write atomicity
is no more guaranteed by inode's i_sem semaphore?

Best wishes
Andrey V.
Savochkin

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