diff options
author | 2023-11-09 21:15:07 +0000 | |
---|---|---|
committer | 2023-12-10 16:51:39 -0800 | |
commit | 16f5dfbc851b55b87101a20e181d4a14be3007d6 (patch) | |
tree | 6a1c52b72ebba9e898779d71150eac8ec9b0ab8a /mm/process_vm_access.c | |
parent | mm/page_alloc: dedupe some memcg uncharging logic (diff) | |
download | wireguard-linux-16f5dfbc851b55b87101a20e181d4a14be3007d6.tar.xz wireguard-linux-16f5dfbc851b55b87101a20e181d4a14be3007d6.zip |
gfp: include __GFP_NOWARN in GFP_NOWAIT
GFP_NOWAIT callers are always prepared for their allocations to fail
because they fail so frequently. Forcing the callers to remember to add
__GFP_NOWARN is just annoying and leads to an endless stream of patches
for the places where we forgot to add it.
We can now remove __GFP_NOWARN from all the callers which specify
GFP_NOWAIT, but I'd rather wait a cycle and send patches to each
maintainer instead of creating a big pile of merge conflicts.
Link: https://lkml.kernel.org/r/20231109211507.2262419-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions