From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx163.postini.com [74.125.245.163]) by kanga.kvack.org (Postfix) with SMTP id BB9E06B005D for ; Sun, 16 Dec 2012 12:48:04 -0500 (EST) Date: Sun, 16 Dec 2012 17:48:01 +0000 From: Al Viro Subject: Re: [PATCH] mm: Downgrade mmap_sem before locking or populating on mmap Message-ID: <20121216174801.GD4939@ZenIV.linux.org.uk> References: <3b624af48f4ba4affd78466b73b6afe0e2f66549.1355463438.git.luto@amacapital.net> <20121214072755.GR4939@ZenIV.linux.org.uk> <20121214144927.GS4939@ZenIV.linux.org.uk> <20121216170403.GC4939@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121216170403.GC4939@ZenIV.linux.org.uk> Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Ingo Molnar , Michel Lespinasse , Hugh Dickins , J??rn Engel On Sun, Dec 16, 2012 at 05:04:03PM +0000, Al Viro wrote: > Moreover, I'm not quite convinced that huge_memory.c and ksm.c can't run > into all kinds of interesting races with ongoing coredump. Looking into > it... Specifically, is collapse_huge_page() safe in parallel with ->core_dump()? It *can* run while we are in the middle of e.g. elf_core_dump(). -- 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