[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260107101705.0469e87ffc60120120500e76@linux-foundation.org>
Date: Wed, 7 Jan 2026 10:17:05 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Sergey Senozhatsky <senozhatsky@...omium.org>
Cc: Yosry Ahmed <yosry.ahmed@...ux.dev>, Nhat Pham <nphamcs@...il.com>,
Minchan Kim <minchan@...nel.org>, Johannes Weiner <hannes@...xchg.org>,
Brian Geffon <bgeffon@...gle.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCHv2 2/2] zsmalloc: simplify read begin/end logic
On Wed, 7 Jan 2026 14:21:45 +0900 Sergey Senozhatsky <senozhatsky@...omium.org> wrote:
> From: Yosry Ahmed <yosry.ahmed@...ux.dev>
>
> When we switched from using class->size (for spans detection)
> to actual compressed object size, we had to compensate for
> the fact that class->size implicitly took inlined handle
> into consideration. In fact, instead of adjusting the size
> of compressed object (adding handle offset for non-huge size
> classes), we can move some lines around and simplify the
> code: there are already paths in read_begin/end that compensate
> for inlined object handle offset.
Updated, thanks.
> Signed-off-by: Yosry Ahmed <yosry.ahmed@...ux.dev>
> ---
This patch should have had your Signed-off-by: also, as you were on the
delivery path. I have made that change to the mm.gt copy.
Powered by blists - more mailing lists