summaryrefslogtreecommitdiffstats
path: root/lib/decompress_unlzma.c
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <urezki@gmail.com>2021-09-02 23:57:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 18:58:14 +0200
commitf8bcbecfb6b48c026e2205679c063d1f16f5a2c0 (patch)
tree93807f8564c07d91f2103452a220d77b38f0d459 /lib/decompress_unlzma.c
parentmm/vmalloc: remove gfpflags_allow_blocking() check (diff)
downloadlinux-f8bcbecfb6b48c026e2205679c063d1f16f5a2c0.tar.xz
linux-f8bcbecfb6b48c026e2205679c063d1f16f5a2c0.zip
lib/test_vmalloc.c: add a new 'nr_pages' parameter
In order to simulate different fixed sizes for vmalloc allocation introduce a new parameter that sets number of pages to be allocated for the "fix_size_alloc_test" test. By default 1 page is used unless a different number is specified over the new parameter. Link: https://lkml.kernel.org/r/20210710194151.21370-1-urezki@gmail.com Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Christoph Hellwig <hch@infradead.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Hillf Danton <hdanton@sina.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/decompress_unlzma.c')
0 files changed, 0 insertions, 0 deletions