Re: [PATCH v5 10/18] zsmalloc: factor out pool locking helpers

From: Sergey Senozhatsky
Date: Wed Feb 12 2025 - 21:54:28 EST


On (25/02/13 01:12), Yosry Ahmed wrote:
> > I want to hide the details, keep them in one place and at some
> >
> > point *in the future* have the same "locking rules" as for zspage
> >
> > lock. Also *possibly* throwing a couple of lockdep assertions.
> >
> > So I'd prefer to abstract all of these.
>
>
> I'd prefer to introduce the abstractions when they are needed tbh. Right now they just make the code less readable.

OK, gone now. I think I didn't screw things up resolving the conflicts.