diff options
| author | Uladzislau Rezki (Sony) <[email protected]> | 2024-08-27 21:09:16 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:55 -0700 |
| commit | 7de8728f55ffd6497d4ef590218fad8da7f1af92 (patch) | |
| tree | 8b329c480623bd2cf610375e2295746d90c57663 /tools/perf/scripts/python/bin | |
| parent | 01c373e9a5ce2273812eaf83036c5357829fb3f7 (diff) | |
mm: vmalloc: refactor vm_area_alloc_pages() function
The aim is to simplify and making the vm_area_alloc_pages()
function less confusing as it became more clogged nowadays:
- eliminate a "bulk_gfp" variable and do not overwrite a gfp
flag for bulk allocator;
- drop __GFP_NOFAIL flag for high-order-page requests on upper
layer. It becomes less spread between levels when it comes to
__GFP_NOFAIL allocations;
- add a comment about a fallback path if high-order attempt is
unsuccessful because for such cases __GFP_NOFAIL is dropped;
- fix a typo in a commit message.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Reviewed-by: Baoquan He <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Oleksiy Avramchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions