From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932109Ab0EKP5R (ORCPT ); Tue, 11 May 2010 11:57:17 -0400 Received: from nlpi129.sbcis.sbc.com ([207.115.36.143]:40434 "EHLO nlpi129.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756140Ab0EKP5N (ORCPT ); Tue, 11 May 2010 11:57:13 -0400 Date: Tue, 11 May 2010 10:56:00 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home To: Mel Gorman cc: Andrew Morton , Linux-MM , LKML , Minchan Kim , KAMEZAWA Hiroyuki , Andrea Arcangeli , Rik van Riel Subject: Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg_pages() and rmap_walk() during migration by not migrating temporary stacks In-Reply-To: <20100511151142.GS26611@csn.ul.ie> Message-ID: References: <1272529930-29505-1-git-send-email-mel@csn.ul.ie> <1272529930-29505-3-git-send-email-mel@csn.ul.ie> <20100504094522.GA20979@csn.ul.ie> <20100510175654.GL26611@csn.ul.ie> <20100511151142.GS26611@csn.ul.ie> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 May 2010, Mel Gorman wrote: > Or just identify the temporary stack from the migration side instead of > adding to the cost of exec? Adding one off checks to a generic mechanism isnt really clean programming. Using the provided means of disabling a generic mechanism is.