diff options
| author | Uladzislau Rezki <[email protected]> | 2021-06-29 02:40:23 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-29 17:53:52 +0000 |
| commit | 12b9f873a5d0e6b3846835ec973bbafa338d0b5a (patch) | |
| tree | c5617fa2f576635dabe193530fb9debc3c202cb4 /lib/dump_stack.c | |
| parent | mm/vmalloc: remove quoted strings split across lines (diff) | |
| download | kernel-12b9f873a5d0e6b3846835ec973bbafa338d0b5a.tar.gz kernel-12b9f873a5d0e6b3846835ec973bbafa338d0b5a.zip | |
mm/vmalloc: fallback to a single page allocator
Currently for order-0 pages we use a bulk-page allocator to get set of
pages. From the other hand not allocating all pages is something that
might occur. In that case we should fallbak to the single-page allocator
trying to get missing pages, because it is more permissive(direct reclaim,
etc).
Introduce a vm_area_alloc_pages() function where the described logic is
implemented.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Oleksiy Avramchenko <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
