Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756373AbZKKDNE (ORCPT ); Tue, 10 Nov 2009 22:13:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755105AbZKKDND (ORCPT ); Tue, 10 Nov 2009 22:13:03 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:52599 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754738AbZKKDNC (ORCPT ); Tue, 10 Nov 2009 22:13:02 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Wed, 11 Nov 2009 12:10:28 +0900 From: KAMEZAWA Hiroyuki To: KOSAKI Motohiro Cc: David Rientjes , Daisuke Nishimura , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Christoph Lameter Subject: Re: [BUGFIX][PATCH] oom-kill: fix NUMA consraint check with nodemask v3 Message-Id: <20091111121028.b4a0ffe7.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20091111115217.FD56.A69D9226@jp.fujitsu.com> References: <20091111112404.0026e601.kamezawa.hiroyu@jp.fujitsu.com> <20091111115217.FD56.A69D9226@jp.fujitsu.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 637 Lines: 22 On Wed, 11 Nov 2009 12:02:06 +0900 (JST) KOSAKI Motohiro wrote: > > There should be a way around that, however. Shouldn't > > > > if (nodes_subset(node_states[N_HIGH_MEMORY], *nodemask)) > > return CONSTRAINT_MEMORY_POLICY; > > > > be sufficient? > > Is this safe on memory hotplug case? > N_HIGH_MEMORY is updated at memory hotplug. Thanks, -Kame -- 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/