]> 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>
Mon, 4 Oct 2021 19:47:49 +0000 (15:47 -0400)
commit4a3124e1faeff2551bd51161f40b4174430e310a
treed008c6a5650aee4138404fc81eafa86cd72820c4
parent420edb4c5e59218d8b32502d1c0933786ec15933
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