Re: [PATCH] mempolicy: check home_node is in the nodes of policy

From: Andrew Morton
Date: Sun Jan 28 2024 - 03:29:52 EST


On Fri, 26 Jan 2024 08:22:40 -0500 Chunsheng Luo <luochunsheng@xxxxxxxx> wrote:

> set_mempolicy_home_node should be used after setting the memory
> policy. If the home_node isn't in the nodes of policy, we should
> return failure to avoid misunderstanding.

Thanks. Under what circumstances does userspace trigger this issue?