]> 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, 27 Feb 2020 20:13:20 +0000 (15:13 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 14 Dec 2021 20:10:45 +0000 (15:10 -0500)
commit57c33bd420293b44c2a39f9ea9ce7684e3129483
tree955e16d2102c043ead466c70309a97187639673e
parentd9b48f8a285d7d405e5306b0678e7c1fd8fa7587
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: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
tools/testing/radix-tree/linux.c