aboutsummaryrefslogtreecommitdiff
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <urezki@gmail.com>2022-06-07 11:34:46 +0200
committerakpm <akpm@linux-foundation.org>2022-07-03 18:08:41 -0700
commitf9863be49312aa1f566dca12603e33487965e6a4 (patch)
treea3dc293c0cf080c1468687cfb0e384d7f7d6ec96 /lib/test_vmalloc.c
parent8eb510db2125ab471967819d1f8749162588bba9 (diff)
downloadlinux-f9863be49312aa1f566dca12603e33487965e6a4.tar.gz
linux-f9863be49312aa1f566dca12603e33487965e6a4.tar.bz2
linux-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/20220607093449.3100-3-urezki@gmail.com Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Reviewed-by: Baoquan He <bhe@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sony.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions