linux/tools/testing/shared
Sidhartha Kumar 617f8e4d76 maple_tree: add test to replicate low memory race conditions
Add new callback fields to the userspace implementation of struct
kmem_cache.  This allows for executing callback functions in order to
further test low memory scenarios where node allocation is retried.

This callback can help test race conditions by calling a function when a
low memory event is tested.

Link: https://lkml.kernel.org/r/20240812190543.71967-2-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-01 20:26:11 -07:00
..
linux tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
trace/events tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
autoconf.h tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
linux.c maple_tree: add test to replicate low memory race conditions 2024-09-01 20:26:11 -07:00
maple-shared.h tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
maple-shim.c tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
shared.h tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
shared.mk tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
xarray-shared.c tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00
xarray-shared.h tools: separate out shared radix-tree components 2024-09-01 20:25:55 -07:00