Thread (41 messages) 41 messages, 5 authors, 2021-02-10

Re: [RFC][PATCH 08/13] mm/migrate: demote pages during reclaim

From: Dave Hansen <hidden>
Date: 2021-02-02 22:57:36
Also in: lkml

On 2/2/21 2:45 PM, Yang Shi wrote:
quoted
Should we keep it simple for now and only try to demote those pages that are
free of cpusets and memory policies?
Actually, demoting those pages to a CPU or a NUMA node that does not fall into
their set, would violate those constraints right?
Yes, this has been discussed since the very beginning. There is not an
easy way to figure out the memory placement policy (cpuset and
mempolicy) from "page". I think this also prevents "demote those pages
that are free of cpusets and memory policies".

The conclusion was the violation should be fine for now. And the
demotion feature is opt'ed in by a new node reclaim mode.
This has come up a couple of times.

I'll add a bit of changelog material about it in the last patch since
that's where the opt-in is introduced.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help