Re: [PATCH v3] z3fold: use per-page read/write lock

From: Andi Kleen
Date: Wed Nov 09 2016 - 18:01:24 EST


On Wed, Nov 09, 2016 at 02:33:04PM -0800, Andrew Morton wrote:
> On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool <vitalywool@xxxxxxxxx> wrote:
>
> > Subject: [PATCH v3] z3fold: use per-page read/write lock
>
> I've rewritten the title to "mm/z3fold.c: use per-page spinlock"
>
> (I prefer to have "mm" in the title to easily identify it as an MM
> patch, and using "mm: z3fold: ..." seems odd when the actual pathname
> conveys the same info.)

Still think it needs to be raw_spinlock_t, otherwise the build bug on
on the header size will break again.

Better would be to fix that build bug though

-Andi