aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <[email protected]>2024-02-24 01:58:00 +0000
committerAndrew Morton <[email protected]>2024-03-05 01:01:18 +0000
commit772dd0342727cc3c3b676b5d97c99708e75730a2 (patch)
tree62127c3cd86f138013ba89c6a6d65bf3d80b8a3b /mm/filemap.c
parentmm: madvise: pageout: ignore references rather than clearing young (diff)
downloadkernel-772dd0342727cc3c3b676b5d97c99708e75730a2.tar.gz
kernel-772dd0342727cc3c3b676b5d97c99708e75730a2.zip
mm: enumerate all gfp flags
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. Link: https://lkml.kernel.org/r/[email protected] 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]> Acked-by: Michal Hocko <[email protected]> Cc: Kent Overstreet <[email protected]> Cc: Petr Tesarik <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions