Re: [External] Re: [PATCH] mm: memcontrol: add the mempolicy interface for cgroup v2.

From: Michal Hocko
Date: Tue May 24 2022 - 08:04:41 EST


On Tue 24-05-22 19:46:38, 贺中坤 wrote:
> Hi Michal, thanks for your reply.
> mempolicy has two functions, which nodes to choose and how to use these
> nodes. cpuset can only decide the first one,it equal to 'bind' mempolicy.
> If cgroups support mempolicy, we can continue to develop more policy
> types. For example, allocate memory according to node weight, etc.
> We would like to have more precise control over memory allocation in NUMA
> server.

Why cputset controller cannot be extended instead?

--
Michal Hocko
SUSE Labs