Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758421AbYGGQ5e (ORCPT ); Mon, 7 Jul 2008 12:57:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755857AbYGGQzo (ORCPT ); Mon, 7 Jul 2008 12:55:44 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44475 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754217AbYGGQzn (ORCPT ); Mon, 7 Jul 2008 12:55:43 -0400 Message-ID: <48724A23.5020705@linux-foundation.org> Date: Mon, 07 Jul 2008 11:53:55 -0500 From: Christoph Lameter User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Gerald Schaefer CC: Andrew Morton , Andy Whitcroft , Yasunori Goto , linux-kernel@vger.kernel.org, linux-mm@kvack.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, KAMEZAWA Hiroyuki , Dave Hansen Subject: Re: [PATCH] Make CONFIG_MIGRATION available for s390 References: <1215354957.9842.19.camel@localhost.localdomain> <20080707090635.GA6797@shadowen.org> <20080707185433.5A5D.E1E9C6FF@jp.fujitsu.com> <1215448906.8431.52.camel@localhost.localdomain> In-Reply-To: <1215448906.8431.52.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 796 Lines: 16 Gerald Schaefer wrote: > It seems to me that this policy_zone check in vma_migratable() is not > called at all for the offline_pages() case, only for some NUMA system calls > that we don't support on s390. As Yasunori Goto said, page isolation checks > should do the job for memory hotremove via offline_pages(), independent from > any policy_zone setting. Any more thoughts on this? Please rename the function to vma_policy_migratable() and then create a new function vma_migratable() that checks for migratability independent of memory policies. -- 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/