Re: [PATCH] mm: constify oom_control, scan_control, and alloc_context nodemask

From: Vlastimil Babka (SUSE)

Date: Tue Jun 09 2026 - 06:02:09 EST


On 6/9/26 02:29, Gregory Price wrote:
> The nodemasks in these structures may come from a variety of sources,
> including tasks and cpusets - and should never be modified by any code
> when being passed around inside another context.
>
> Signed-off-by: Gregory Price <gourry@xxxxxxxxxx>

Nice!

Acked-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>