From: Mel Gorman <mgorman@suse.de>
To: Gavin Shan <gwshan@linux.vnet.ibm.com>
Cc: linux-mm@kvack.org, akpm@linux-foundation.org, anton@samba.org,
mpe@ellerman.id.au, "# v3 . 16+" <stable@vger.kernel.org>
Subject: Re: [PATCH] mm/page_alloc: Fix nodes for reclaim in fast path
Date: Wed, 8 Feb 2017 09:28:02 +0000 [thread overview]
Message-ID: <20170208092802.tejkvuz23iyarnvr@suse.de> (raw)
In-Reply-To: <1486532455-29613-1-git-send-email-gwshan@linux.vnet.ibm.com>
On Wed, Feb 08, 2017 at 04:40:55PM +1100, Gavin Shan wrote:
> When @node_reclaim_node isn't 0, the page allocator tries to reclaim
> pages if the amount of free memory in the zones are below the low
> watermark. On Power platform, none of NUMA nodes are scanned for page
> reclaim because no nodes match the condition in zone_allows_reclaim().
> On Power platform, RECLAIM_DISTANCE is set to 10 which is the distance
> of Node-A to Node-A. So the preferred node even won't be scanned for
> page reclaim.
>
> Fixes: 5f7a75acdb24 ("mm: page_alloc: do not cache reclaim distances")
> Cc: <stable@vger.kernel.org> # v3.16+
> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
--
Mel Gorman
SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-02-08 9:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 5:40 Gavin Shan
2017-02-08 9:28 ` Mel Gorman [this message]
2017-02-08 10:08 ` Michal Hocko
2017-02-08 23:06 ` Gavin Shan
2017-02-09 8:57 ` Michal Hocko
2017-02-08 23:07 ` Gavin Shan
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=20170208092802.tejkvuz23iyarnvr@suse.de \
--to=mgorman@suse.de \
--cc=akpm@linux-foundation.org \
--cc=anton@samba.org \
--cc=gwshan@linux.vnet.ibm.com \
--cc=linux-mm@kvack.org \
--cc=mpe@ellerman.id.au \
--cc=stable@vger.kernel.org \
/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