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 14:26:32
Also in: linux-mm

On Wed 13-10-21 19:27:03, Aneesh Kumar K.V wrote:
[...]
Another option is to keep this mbind(2) specific and overload flags to be
the preferred nodeid.

mbind(va, len, MPOL_PREFERRED_STRICT, nodemask, max_node, preferred_node);
First of all I do not think you really want to create a new memory
policy for this. Not to mention that PREFERRED_STRICT is kinda weird in
the first place but one could argue that a preference of the first node
to try is not really specific to BIND/PREFERRED_MANY. Overloading flags
is a nogo.

-- 
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