Re: [PATCH v4 06/36] mm: enumerate all gfp flags

Petr Tesařík
2024-02-22T12:24:20Z

On Thu, 22 Feb 2024 13:12:29 +0100
Michal Hocko <mhocko@suse.com> wrote:

> On Wed 21-02-24 11:40:19, Suren Baghdasaryan wrote:
> > Introduce GFP bits enumeration to let compiler track the number of used
> > bits (which depends on the config options) instead of hardcoding them.
> > That simplifies __GFP_BITS_SHIFT calculation.
> >
> > Suggested-by: Petr Tesařík <petr@tesarici.cz>
> > Signed-off-by: Suren Baghdasaryan <surenb@google.com>
> > Reviewed-by: Kees Cook <keescook@chromium.org>
>
> I thought I have responded to this patch but obviously not the case.
> I like this change. Makes sense even without the rest of the series.
> Acked-by: Michal Hocko <mhocko@suse.com>

Thank you, Michal. I also hope it can be merged without waiting for the
rest of the series.

Petr T