Re: [PATCH] mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate
From: Gustavo A. R. Silva
Date: Thu Aug 29 2019 - 15:14:48 EST
On 8/26/19 6:05 PM, Andrew Morton wrote:
>
>
> This is a bit silly:
>
> if (..) {
> ...
> z3fold_page_unlock(zhdr);
> return false;
> }
> z3fold_page_unlock(zhdr);
> return false;
>
> but presumably the compiler will clean up after us.
>
I agree. I just sent a patch for that:
20190829191312.GA20298@embeddedor/">https://lore.kernel.org/lkml/20190829191312.GA20298@embeddedor/
Thanks
--
Gustavo