]> 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>
Wed, 4 May 2022 00:46:30 +0000 (17:46 -0700)
commite73a387766ea1753d41bad35f030479a9c89cfa9
tree0ef02ba905438747239425676ee57c91b28f6c37
parentef8b63432bfead0d1da2623f895322d97fd2fe8e
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