[PATCH v2 4/5] tools: Add support for running rosebush tests in userspace

Jeff Johnson quic_jjohnson at quicinc.com
Fri Jun 28 22:15:32 PDT 2024


On 6/25/24 14:17, Matthew Wilcox (Oracle) wrote:
> Enable make -C tools/testing/radix-tree.  Much easier to debug than
> an in-kernel module.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
> ---
>   tools/include/linux/rosebush.h        |  1 +
>   tools/testing/radix-tree/.gitignore   |  1 +
>   tools/testing/radix-tree/Makefile     |  6 ++++-
>   tools/testing/radix-tree/kunit/test.h | 20 +++++++++++++++
>   tools/testing/radix-tree/rosebush.c   | 36 +++++++++++++++++++++++++++
>   5 files changed, 63 insertions(+), 1 deletion(-)
>   create mode 100644 tools/include/linux/rosebush.h
>   create mode 100644 tools/testing/radix-tree/kunit/test.h
>   create mode 100644 tools/testing/radix-tree/rosebush.c
...
> +#define MODULE_AUTHOR(x)
> +#define MODULE_LICENSE(x)

don't forget to #define MODULE_DESCRIPTION() here if/when you add it to 
the module




More information about the maple-tree mailing list