]> 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>
Thu, 3 Feb 2022 15:10:35 +0000 (10:10 -0500)
commit3f4d12ce6c54e66ca98ed5f47b6c34fbc41a7f81
tree4ea536032b2994ddd0ff546287085d18cec93367
parent594da3a8873d26781576baf74b873b4af2a35e84
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