From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 4 Feb 2007 11:50:15 +0100 From: Nick Piggin Subject: Re: [patch 9/9] mm: fix pagecache write deadlocks Message-ID: <20070204105015.GB29943@wotan.suse.de> References: <20070204063707.23659.20741.sendpatchset@linux.site> <20070204063833.23659.55105.sendpatchset@linux.site> <20070204014445.88e6c8c7.akpm@linux-foundation.org> <20070204101529.GA22004@wotan.suse.de> <20070204023055.2583fd65.akpm@linux-foundation.org> <20070204104609.GA29943@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070204104609.GA29943@wotan.suse.de> Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Linux Kernel , Linux Filesystems , Linux Memory Management List-ID: On Sun, Feb 04, 2007 at 11:46:09AM +0100, Nick Piggin wrote: > > > It's better than taking mmap_sem and walking pagetables... > > I'm not convinced. Though I am more convinced that looking at mm *at all* (either to take the mmap_sem and find the vma, or to take the mmap_sem and run get_user_pages) is going to hurt. We'd have to special case kernel threads, which don't even have an mm, let alone the vmas... too ugly. I'll revert to my temporary-page approach: at least that will fix the problem. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org