Thread (10 messages) flat view 10 messages, 2 authors, 2021-10-13

Re: [RFC PATCH] mm/mempolicy: add MPOL_PREFERRED_STRICT memory policy

From: Michal Hocko <mhocko@suse.com>
Date: 2021-10-13 13:07:21
Also in: linux-mm

On Wed 13-10-21 18:28:40, Aneesh Kumar K.V wrote:
On 10/13/21 18:20, Michal Hocko wrote:
[...]
quoted
I am still not sure the semantic makes sense though. Why should
the lowest node in the nodemask have any special meaning? What if it is
a node with a higher number that somebody preferes to start with?
That is true. I haven't been able to find an easy way to specify the
preferred node other than expressing it as first node in the node mask. Yes,
it limits the usage of the policy. Any alternate suggestion?
set_mempolicy is indeed not very suitable for something you are looking
for. Could you be more specific why the initial node is so important?
Is this because you want to allocate from a cpu less node first before
falling back to others?
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help