From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dax.scot.redhat.com (sct@dax.scot.redhat.com [195.89.149.242]) by kvack.org (8.8.7/8.8.7) with ESMTP id QAA23676 for ; Sun, 10 Jan 1999 16:42:20 -0500 Date: Sun, 10 Jan 1999 21:41:57 GMT Message-Id: <199901102141.VAA01398@dax.scot.redhat.com> From: "Stephen C. Tweedie" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: MM deadlock [was: Re: arca-vm-8...] In-Reply-To: References: Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: Linus Torvalds , Savochkin Andrey Vladimirovich , steve@netplus.net, "Eric W. Biederman" , brent verner , "Garst R. Reese" , Kalle Andersson , Zlatko Calusic , Ben McCann , Alan Cox , bredelin@ucsd.edu, "Stephen C. Tweedie" , linux-kernel@vger.rutgers.edu, Rik van Riel , linux-mm@kvack.org List-ID: Hi, On Sat, 9 Jan 1999 19:41:36 +0100 (CET), Andrea Arcangeli said: > On Sat, 9 Jan 1999, Linus Torvalds wrote: >> refuse to touch an inode that is busy is a sure way to allow people to > What do you mean for busy? What about refusing filemap_write_page() in > filemap_swapout() only if > !atomic_count(&vma->vm_file->d_entry->d_inode->i_sem.count)? The problem with that is what happens if we have a large, active write-mapped file with lots of IO activity on it; we become essentially unable to swap that file out. That has really nasty VM death implications for things like databases. --Stephen -- This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org