Re: [PATCH] mm: constify oom_control, scan_control, and alloc_context nodemask
From: Gregory Price
Date: Tue Jun 09 2026 - 21:48:29 EST
On Tue, Jun 09, 2026 at 05:19:36PM -0700, SeongJae Park wrote:
> On Mon, 8 Jun 2026 20:29:19 -0400 Gregory Price <gourry@xxxxxxxxxx> wrote:
> > */
> > static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelist,
> > - nodemask_t *nodemask)
> > + const nodemask_t *nodemask)
>
> Seems the above indentation has changed for a rason that I have no clue, and
> also introduced a line having both spaces and tabs.
>
It aligns the const with gfp_t on the line above.
This is a common alignment throughout the kernel for any function whose
prototype spans multiple lines.
Thanks
~Gregory