[PATCH] maple_tree: remove undocumented CONFIG_MAPLE_RCU_DISABLED macro

Alice Ryhl aliceryhl at google.com
Thu Jun 11 16:00:51 PDT 2026


On Wed, Jun 10, 2026 at 03:09:04PM -0700, Ethan Nelson-Moore wrote:
> <linux/maple_tree.h> consults the macro CONFIG_MAPLE_RCU_DISABLED to
> determine whether to disable the mt_in_rcu() function (by making it
> always return false). This macro is not reachable via Kconfig, despite
> its name, and is not documented anywhere. Remove it to avoid polluting
> the CONFIG_* namespace.
> 
> Discovered while searching for CONFIG_* symbols referenced in code but
> not defined in any Kconfig file.
> 
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore at gmail.com>

Reviewed-by: Alice Ryhl <aliceryhl at google.com>



More information about the maple-tree mailing list