]> 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, 14 Feb 2022 15:21:53 +0000 (10:21 -0500)
commit94e334ab8448ba89aa9527d25e73dc162afd5dff
tree736bf0b77b5f5a2a02ebc0498b0af677f1bf9e03
parent4836d383074860bcfd88634c465714696c59c913
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