Re: [PATCH v2 04/11] zsmalloc: switch handle type to struct zs_handle
From: Sergey Senozhatsky
Date: Tue Nov 10 2026 - 23:15:34 EST
On (26/11/10 16:35), Yosry Ahmed wrote:
> On Tue, Nov 10, 2026 at 02:48:09PM +0900, Sergey Senozhatsky wrote:
> [..]
> > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
> > index dab71f582103..3a6a7253fd01 100644
> > --- a/mm/zsmalloc.c
> > +++ b/mm/zsmalloc.c
> > @@ -264,6 +264,10 @@ struct link_free {
> > };
> > };
> >
> > +struct zs_handle {
> > + unsigned long __private obj;
> > +};
>
> nit: Update the definition of ZS_HANDLE_SIZE to sizeof(zs_handle)?
Ack.