From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 074286005A4 for ; Tue, 5 Jan 2010 01:00:44 -0500 (EST) Received: by pwj10 with SMTP id 10so3594382pwj.6 for ; Mon, 04 Jan 2010 22:00:43 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20100105134357.4bfb4951.kamezawa.hiroyu@jp.fujitsu.com> References: <20100104182429.833180340@chello.nl> <20100104182813.753545361@chello.nl> <20100105092559.1de8b613.kamezawa.hiroyu@jp.fujitsu.com> <28c262361001042029w4b95f226lf54a3ed6a4291a3b@mail.gmail.com> <20100105134357.4bfb4951.kamezawa.hiroyu@jp.fujitsu.com> Date: Tue, 5 Jan 2010 15:00:42 +0900 Message-ID: <28c262361001042200k3e5a5ef9v42400120cbd33b61@mail.gmail.com> Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() From: Minchan Kim Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: Peter Zijlstra , "Paul E. McKenney" , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , cl@linux-foundation.org, "hugh.dickins" , Nick Piggin , Ingo Molnar , Linus Torvalds List-ID: On Tue, Jan 5, 2010 at 1:43 PM, KAMEZAWA Hiroyuki wrote: > On Tue, 5 Jan 2010 13:29:40 +0900 > Minchan Kim wrote: > >> Hi, Kame. >> >> On Tue, Jan 5, 2010 at 9:25 AM, KAMEZAWA Hiroyuki >> wrote: >> > On Mon, 04 Jan 2010 19:24:35 +0100 >> > Peter Zijlstra wrote: >> > >> >> Generic speculative fault handler, tries to service a pagefault >> >> without holding mmap_sem. >> >> >> >> Signed-off-by: Peter Zijlstra >> > >> > >> > I'm sorry if I miss something...how does this patch series avoid >> > that vma is removed while __do_fault()->vma->vm_ops->fault() is called ? >> > ("vma is removed" means all other things as freeing file struct etc..) >> >> Isn't it protected by get_file and iget? >> Am I miss something? >> > Only kmem_cache_free() part of following code is modified by the patch. That's it I missed. Thanks, Kame. ;-) -- Kind regards, Minchan Kim -- 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