Re: [PATCH] mm/mempolicy: ignore a bind policy whose nodes have no memory
From: David Hildenbrand
Date: Sat Nov 14 2026 - 10:02:54 EST
On Fri, 13 Nov 2026 14:26:42 -0500, Gregory Price (Meta) wrote:
> apply_policy_zone() assumes that policy->nodes intersects N_MEMORY, so
> it reads a bind policy with no N_HIGH_MEMORY node as movable-only.
>
> On systems with CONFIG_CPUSETS=n, nothing rebinds policies when memory
> is removed, so offlining all memory on the nodes a bind policy names
> leaves it with none. The policy is then treated as movable-only, and
> movable allocations are restricted to nodes without memory.
>
> [...]
Applied, thanks!
tree: mm/core.git
branch: mempolicy-7.5.misc
Applied patches will appear soon in mm-next, followed by linux-next.
Please report any outstanding bugs that were missed during review, so we
can either drop the patch series or decide how to fix it up.
It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
though the patches have already been applied. If possible, patch trailers
will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. Further, this is not a guarantee that the
patches will go upstream. If in doubt, please check the listed branch.
[1/1] mm/mempolicy: ignore a bind policy whose nodes have no memory
https://git.kernel.org/mm/core/c/528dc8e1
--
Cheers,
David