diff options
author | Lorenzo Stoakes <lstoakes@gmail.com> | 2022-12-19 15:36:59 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-19 04:12:45 +0300 |
commit | 80b1d8fdfad1f3084450afa6e2efcdcce867d4af (patch) | |
tree | 1a5a2c64bd5925fe2e09d8bf9dd0be89ba21b6b7 /lib/maple_tree.c | |
parent | ef1faf0e370a8e33fe625088ddc5fde02cf8c4c4 (diff) | |
download | linux-80b1d8fdfad1f3084450afa6e2efcdcce867d4af.tar.xz |
mm: vmalloc: correct use of __GFP_NOWARN mask in __vmalloc_area_node()
This function sets __GFP_NOWARN in the gfp_mask rendering the warn_alloc()
invocations no-ops. Remove this and instead rely on this flag being set
only for the vm_area_alloc_pages() function, ensuring it is cleared for
each of the warn_alloc() calls.
Link: https://lkml.kernel.org/r/20221219123659.90614-1-lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions