From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from neon.transmeta.com (neon-best.transmeta.com [206.184.214.10]) by kvack.org (8.8.7/8.8.7) with ESMTP id NAA21656 for ; Sun, 10 Jan 1999 13:40:23 -0500 Date: Sun, 10 Jan 1999 10:35:10 -0800 (PST) From: Linus Torvalds Subject: Re: MM deadlock [was: Re: arca-vm-8...] In-Reply-To: <199901101659.QAA00922@dax.scot.redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: "Stephen C. Tweedie" Cc: Savochkin Andrey Vladimirovich , Andrea Arcangeli , steve@netplus.net, "Eric W. Biederman" , brent verner , "Garst R. Reese" , Kalle Andersson , Zlatko Calusic , Ben McCann , Alan Cox , bredelin@ucsd.edu, linux-kernel@vger.rutgers.edu, Rik van Riel , linux-mm@kvack.org List-ID: On Sun, 10 Jan 1999, Stephen C. Tweedie wrote: > > Ack. I've been having a closer look, and making the superblock lock > recursive doesn't work That's fine - the superblock lock doesn't need to be re-entrant, because __GFP_IO is quite sufficient for that one. The thing I want to make re-entrant is just semaphore accesses: at the point where we would otherwise deadlock on the writer semaphore it's much better to just allow nested writes. I suspect all filesystems can already handle nested writes - they are a lot easier to handle than truly concurrent ones. Linus -- This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org