On Thu, 22 Feb 2024 13:12:29 +0100 Michal Hocko <mhocko@xxxxxxxx> 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@xxxxxxxxxxx> > > Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx> > > Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> > > 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@xxxxxxxx> Thank you, Michal. I also hope it can be merged without waiting for the rest of the series. Petr T