[PATCH v2 0/2] Reduce the space to be cleared for maple_big_node
Wei Yang
richard.weiyang at gmail.com
Tue Sep 24 19:45:19 PDT 2024
Hi, Andrew,
I don't see the notification on picking this in unstable/stable.
May I ask would it be picked up?
On Sun, Sep 08, 2024 at 02:05:52PM +0000, Wei Yang wrote:
>Found current code may clear maple_big_node redundantly.
>
>First we define a filed parent, which is never used. After removing this, we
>reduce the size of memory to be clear on memset.
>
>Then mast_fill_bnode clear part of the structure twice, since slot and gap
>shares some space. By clearing the whole structure, we can avoid it.
>
>Wei Yang (2):
> maple_tree: remove maple_big_node.parent
> maple_tree: memset maple_big_node as a whole
>
> lib/maple_tree.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
>--
>2.34.1
--
Wei Yang
Help you, Help me
More information about the maple-tree
mailing list