From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 292746B0071 for ; Fri, 19 Nov 2010 14:27:01 -0500 (EST) Date: Fri, 19 Nov 2010 20:26:01 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 02 of 66] mm, migration: Fix race between shift_arg_pages and rmap_walk by guaranteeing rmap_walk finds PTEs created within the temporary stack Message-ID: <20101119192601.GG24450@random.random> References: <20101118111349.GG8135@csn.ul.ie> <20101119173817.GE24450@random.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Linus Torvalds Cc: Mel Gorman , linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Hugh Dickins , Rik van Riel , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason , Borislav Petkov List-ID: On Fri, Nov 19, 2010 at 09:54:27AM -0800, Linus Torvalds wrote: > On Fri, Nov 19, 2010 at 9:38 AM, Andrea Arcangeli wrote: > > > > We decided the kmalloc was ok, but Linus didn't like this approach. I > > kept it in my tree because I didn't want to remember when/if to add the > > special check in the accurate rmap walks. I find it simpler if all > > rmap walks are accurate by default. > > Why isn't the existing cheap solution sufficient? It is sufficient. > My opinion is still that we shouldn't add the expense to the common > case, and it's the uncommon case (migration) that should just handle > it. Ok, I'll remove this patch from the next submit. -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org