From: Wei Yang <richard.weiyang@gmail.com>
To: akpm@linux-foundation.org
Cc: Wei Yang <richard.weiyang@gmail.com>,
Liam.Howlett@oracle.com, maple-tree@lists.infradead.org,
linux-mm@kvack.org
Subject: Re: [PATCH v2 0/2] Reduce the space to be cleared for maple_big_node
Date: Wed, 25 Sep 2024 02:45:19 +0000 [thread overview]
Message-ID: <20240925024519.cmtxvbcwfbnosue3@master> (raw)
In-Reply-To: <20240908140554.20378-1-richard.weiyang@gmail.com>
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
prev parent reply other threads:[~2024-09-25 2:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-08 14:05 Wei Yang
2024-09-08 14:05 ` [PATCH v2 1/2] maple_tree: remove maple_big_node.parent Wei Yang
2024-09-11 0:35 ` Liam R. Howlett
2024-09-08 14:05 ` [PATCH v2 2/2] maple_tree: memset maple_big_node as a whole Wei Yang
2024-09-11 0:36 ` Liam R. Howlett
2024-09-25 2:45 ` Wei Yang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240925024519.cmtxvbcwfbnosue3@master \
--to=richard.weiyang@gmail.com \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=maple-tree@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox