On Wed, Feb 21, 2024 at 2:41 PM Suren Baghdasaryan <[email protected]> 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 <[email protected]> > Signed-off-by: Suren Baghdasaryan <[email protected]> > Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Pasha Tatashin <[email protected]>
