Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756404Ab0KST1Y (ORCPT ); Fri, 19 Nov 2010 14:27:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30977 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755140Ab0KST1X (ORCPT ); Fri, 19 Nov 2010 14:27:23 -0500 Date: Fri, 19 Nov 2010 20:26:01 +0100 From: Andrea Arcangeli 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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 927 Lines: 22 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/