aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <[email protected]>2022-06-07 09:34:46 +0000
committerakpm <[email protected]>2022-07-04 01:08:41 +0000
commitf9863be49312aa1f566dca12603e33487965e6a4 (patch)
treea3dc293c0cf080c1468687cfb0e384d7f7d6ec96 /lib/test_vmalloc.c
parentmm/vmalloc: make link_va()/unlink_va() common to different rb_root (diff)
downloadkernel-f9863be49312aa1f566dca12603e33487965e6a4.tar.gz
kernel-f9863be49312aa1f566dca12603e33487965e6a4.zip
mm/vmalloc: extend __alloc_vmap_area() with extra arguments
It implies that __alloc_vmap_area() allocates only from the global vmap space, therefore a list-head and rb-tree, which represent a free vmap space, are not passed as parameters to this function and are accessed directly from this function. Extend the __alloc_vmap_area() and other dependent functions to have a possibility to allocate from different trees making an interface common and not specific. There is no functional change as a result of this patch. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Uladzislau Rezki (Sony) <[email protected]> Reviewed-by: Baoquan He <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Oleksiy Avramchenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions