[PATCH] maple_tree: remove undocumented CONFIG_MAPLE_RCU_DISABLED macro
SeongJae Park
sj at kernel.org
Wed Jun 10 17:40:01 PDT 2026
On Wed, 10 Jun 2026 15:09:04 -0700 Ethan Nelson-Moore <enelsonmoore at gmail.com> 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.
Seems this was also found in the past [1], and apparently this is not
intended to be as is.
I also think it is better to be removed or renamed.
[1] https://lore.kernel.org/20230906152325.dblzauybyoq5kd35@revolver
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore at gmail.com>
Acked-by: SeongJae Park <sj at kernel.org>
Thanks,
SJ
[...]
More information about the maple-tree
mailing list