Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932108AbWEWGcB (ORCPT ); Tue, 23 May 2006 02:32:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932107AbWEWGcA (ORCPT ); Tue, 23 May 2006 02:32:00 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:3712 "EHLO sous-sol.org") by vger.kernel.org with ESMTP id S932108AbWEWGcA (ORCPT ); Tue, 23 May 2006 02:32:00 -0400 Date: Mon, 22 May 2006 23:35:00 -0700 From: Chris Wright To: akpm@osdl.org Cc: Paul Jackson , chrisw@sous-sol.org, Christoph Lameter , linux-kernel@vger.kernel.org Subject: [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages Message-ID: <20060523063500.GB18769@moss.sous-sol.org> References: <20060522182356.fbea4aec.pj@sgi.com> <20060522192248.b114fea3.pj@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 664 Lines: 24 This is redundant with check in wakeup_kswapd. Signed-off-by: Chris Wright --- mm/page_alloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -951,8 +951,7 @@ restart: goto got_pg; do { - if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL)) - wakeup_kswapd(*z, order); + wakeup_kswapd(*z, order); } while (*(++z)); /* - 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/