]> www.infradead.org Git - users/jedix/linux-maple.git/commit
radix tree test suite: add kmem_cache_set_non_kernel()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:11 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:21:51 +0000 (10:21 -0400)
commit9fc05a626540523976fe2f3ad218fb4f426fef88
treeffb9fe903378781f53aeb0c9e7eb1c2afc210717
parent1d4745c46646e34cb1381d90a818db4ce8e99bed
radix tree test suite: add kmem_cache_set_non_kernel()

kmem_cache_set_non_kernel() is a mechanism to allow a certain number of
kmem_cache_alloc requests to succeed even when GFP_KERNEL is not set in
the flags.  This functionality allows for testing different paths though
the code.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
tools/testing/radix-tree/linux.c