Re: [PATCH 02/10] mm: convert core mm to mm_flags_*() accessors
From: Lorenzo Stoakes
Date: Tue Aug 26 2025 - 09:03:38 EST
On Tue, Aug 26, 2025 at 02:50:03PM +0200, David Hildenbrand wrote:
> On 12.08.25 17:44, Lorenzo Stoakes wrote:
> > As part of the effort to move to mm->flags becoming a bitmap field, convert
> > existing users to making use of the mm_flags_*() accessors which will, when
> > the conversion is complete, be the only means of accessing mm_struct flags.
> >
> > This will result in the debug output being that of a bitmap output, which
> > will result in a minor change here, but since this is for debug only, this
> > should have no bearing.
> >
> > Otherwise, no functional changes intended.
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> > ---
>
>
> > diff --git a/mm/oom_kill.c b/mm/oom_kill.c
> > index 25923cfec9c6..17650f0b516e 100644
> > --- a/mm/oom_kill.c
> > +++ b/mm/oom_kill.c
> > @@ -1,7 +1,7 @@
> > // SPDX-License-Identifier: GPL-2.0-only
> > /*
> > * linux/mm/oom_kill.c
> > - *
> > + *
>
> ^ unrelated change
Whoops! This is my editor removing trailing space...
I mean may as well leave in tbh for this case I think :)
>
> Acked-by: David Hildenbrand <david@xxxxxxxxxx>
Thanks for this + other acks! :)
>
> --
> Cheers
>
> David / dhildenb
>
Cheers, Lorenzo