Re: [PATCH v2] slub: clarify object field layout comments
From: Vlastimil Babka
Date: Wed Jan 07 2026 - 05:35:52 EST
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@xxxxxxxxxx>
> Acked-by: Harry Yoo <harry.yoo@xxxxxxxxxx>
> Signed-off-by: Hao Li <hao.li@xxxxxxxxx>
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 :)