From: Vlastimil Babka <vbabka@suse.cz>
To: Hao Li <hao.li@linux.dev>,
akpm@linux-foundation.org, harry.yoo@oracle.com, cl@gentwo.org,
rientjes@google.com, roman.gushchin@linux.dev,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] slub: clarify object field layout comments
Date: Wed, 7 Jan 2026 11:35:49 +0100 [thread overview]
Message-ID: <0a2474ae-013f-4c9d-b70e-5461367abe6f@suse.cz> (raw)
In-Reply-To: <20251229122415.192377-1-hao.li@linux.dev>
On 12/29/25 13:24, Hao Li wrote:
> The comments above check_pad_bytes() document the field layout of a
> single object. Rewrite them to improve clarity and precision.
>
> Also update an outdated comment in calculate_sizes().
>
> Suggested-by: Harry Yoo <harry.yoo@oracle.com>
> Acked-by: Harry Yoo <harry.yoo@oracle.com>
> Signed-off-by: Hao Li <hao.li@linux.dev>
Thanks, that's a great improvement. Adding to slab/for-next.
Wonder if some ASCII art diagram would be also feasible to add, if you feel
like trying :)
next prev parent reply other threads:[~2026-01-07 10:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 12:24 Hao Li
2026-01-07 10:35 ` Vlastimil Babka [this message]
2026-01-07 15:10 ` Hao Li
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=0a2474ae-013f-4c9d-b70e-5461367abe6f@suse.cz \
--to=vbabka@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=cl@gentwo.org \
--cc=hao.li@linux.dev \
--cc=harry.yoo@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
/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