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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 13-10-21 18:28:40, Aneesh Kumar K.V wrote:
> On 10/13/21 18:20, Michal Hocko wrote:
[...]
> > 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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux