[Patch v3 0/3] maple_tree: Fix the replacement of a root leaf node
Wei Yang
richard.weiyang at gmail.com
Tue Jun 10 19:54:36 PDT 2025
On Tue, Jun 10, 2025 at 06:37:27PM -0700, Andrew Morton wrote:
>On Wed, 11 Jun 2025 01:12:50 +0000 Wei Yang <richard.weiyang at gmail.com> wrote:
>
>> On destroy we should set each node dead. But current
>> code miss this when the maple tree has only the root node.
>>
>> The reason is mt_destroy_walk() leverage mte_destroy_descend() to set
>> node dead, but this is skipped since the only root node is a leaf.
>
>Thanks. You added cc:stable to two of the patches and that's great,
>thanks for remembering. But the changelogs didn't tell us why you made
>this choice.
>
>So, as always, please always describe the userspace-visible impact of a
>bug when fixing that bug!
Thanks for reminding.
Do you prefer to have a new version with the description in changelog?
--
Wei Yang
Help you, Help me
More information about the maple-tree
mailing list