]> Gentwo Git Trees - linux/.git/commit
bpf: Remove redundant __GFP_NOWARN
authorQianfeng Rong <rongqianfeng@vivo.com>
Mon, 4 Aug 2025 12:27:30 +0000 (20:27 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 12 Aug 2025 21:56:04 +0000 (14:56 -0700)
commit3e2b799008a78c21c648328bed9f566335f0394e
treee924f4de1662082828700912f8690e71cb81d890
parent9e293d47bfb9e812196670f2deeefc8b9d0226e4
bpf: Remove redundant __GFP_NOWARN

Commit 16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT")
made GFP_NOWAIT implicitly include __GFP_NOWARN.

Therefore, explicit __GFP_NOWARN combined with GFP_NOWAIT
(e.g., `GFP_NOWAIT | __GFP_NOWARN`) is now redundant. Let's clean
up these redundant flags across subsystems.

No functional changes.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20250804122731.460158-1-rongqianfeng@vivo.com
kernel/bpf/devmap.c
kernel/bpf/local_storage.c