]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: remove redundant __GFP_NOWARN
authorQianfeng Rong <rongqianfeng@vivo.com>
Tue, 12 Aug 2025 13:52:25 +0000 (21:52 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:54:58 +0000 (16:54 -0700)
commitadf085ff0d6fde54015bfca1ce6e4ce392828ba9
treed8fb1d0b453b01183eefc5187185f5edb760a028
parent8166353fb8841390bf3ffe1b923a5ddeb348e4f7
mm: 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.

Link: https://lkml.kernel.org/r/20250812135225.274316-1-rongqianfeng@vivo.com
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/ops-common.c
mm/filemap.c
mm/mmu_gather.c
mm/rmap.c
mm/vmalloc.c