Messages in this thread | | | Subject | Re: [PATCH] mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate | From | "Gustavo A. R. Silva" <> | Date | Thu, 29 Aug 2019 14:14:40 -0500 |
| |
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:
https://lore.kernel.org/lkml/20190829191312.GA20298@embeddedor/
Thanks -- Gustavo
| |