On Mon, Feb 12, 2024 at 01:38:50PM -0800, 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 <[email protected]> > Signed-off-by: Suren Baghdasaryan <[email protected]>
Yeah, looks good. Reviewed-by: Kees Cook <[email protected]> -- Kees Cook
