From: YOSHIDA Masanori <masanori.yoshida.lkml@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, mgorman@techsingularity.net,
vbabka@suse.cz, mhocko@suse.com, rientjes@google.com,
iamjoonsoo.kim@lge.com, izumi.taku@jp.fujitsu.com,
hannes@cmpxchg.org, linux-mm@kvack.org,
YOSHIDA Masanori <masanori.yoshida@gmail.com>
Subject: [PATCH] Delete meaningless check of current_order in __rmqueue_fallback
Date: Mon, 13 Jun 2016 03:03:31 +0900 [thread overview]
Message-ID: <1465754611-21398-1-git-send-email-masanori.yoshida.lkml@gmail.com> (raw)
From: YOSHIDA Masanori <masanori.yoshida@gmail.com>
Signed-off-by: YOSHIDA Masanori <masanori.yoshida@gmail.com>
---
mm/page_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 6903b69..db02967 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2105,7 +2105,7 @@ __rmqueue_fallback(struct zone *zone, unsigned int order, int start_migratetype)
/* Find the largest possible block of pages in the other list */
for (current_order = MAX_ORDER-1;
- current_order >= order && current_order <= MAX_ORDER-1;
+ current_order >= order;
--current_order) {
area = &(zone->free_area[current_order]);
fallback_mt = find_suitable_fallback(area, current_order,
--
2.1.4
next reply other threads:[~2016-06-19 8:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-12 18:03 YOSHIDA Masanori [this message]
2016-06-20 14:35 ` Michal Hocko
2016-06-25 8:21 ` Masanori YOSHIDA
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=1465754611-21398-1-git-send-email-masanori.yoshida.lkml@gmail.com \
--to=masanori.yoshida.lkml@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=masanori.yoshida@gmail.com \
--cc=mgorman@techsingularity.net \
--cc=mhocko@suse.com \
--cc=rientjes@google.com \
--cc=vbabka@suse.cz \
/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®