From: Chris Wright <chrisw@sous-sol.org>
To: akpm@osdl.org
Cc: Paul Jackson <pj@sgi.com>,
chrisw@sous-sol.org, Christoph Lameter <clameter@sgi.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages
Date: Mon, 22 May 2006 23:35:00 -0700 [thread overview]
Message-ID: <20060523063500.GB18769@moss.sous-sol.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0605221925350.7272@schroedinger.engr.sgi.com>
This is redundant with check in wakeup_kswapd.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
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));
/*
next prev parent reply other threads:[~2006-05-23 6:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 18:11 cpusets: only wakeup kswapd for zones in the current cpuset Christoph Lameter
2006-05-23 1:23 ` Paul Jackson
2006-05-23 1:59 ` Christoph Lameter
2006-05-23 2:22 ` Paul Jackson
2006-05-23 2:28 ` Christoph Lameter
2006-05-23 6:35 ` Chris Wright [this message]
2006-05-23 6:35 ` [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages Paul Jackson
2006-05-23 16:29 ` Christoph Lameter
2006-05-23 16:38 ` Paul Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060523063500.GB18769@moss.sous-sol.org \
--to=chrisw@sous-sol.org \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®