]> 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, 27 Sep 2021 14:20:14 +0000 (10:20 -0400)
commit3d52c796249e8cb57c6db800a3ad1bc32b139e3e
tree7bc99d9c8015c41ef0742a97a58448760b4c8b7b
parentdcade2dd125a5d8ebc3b7c9cb70dba8aec18fc34
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