Thread (208 messages) 208 messages, 21 authors, 2024-02-29

Re: [PATCH v3 04/35] mm: enumerate all gfp flags

From: Kees Cook <hidden>
Date: 2024-02-12 22:10:15
Also in: cgroups, linux-arch, linux-doc, linux-fsdevel, linux-iommu, linux-mm, lkml

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 <redacted>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Yeah, looks good.

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help