lkml.org 
[lkml]   [2019]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate
From
Date


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

\
 
 \ /
  Last update: 2019-08-29 21:15    [W:0.052 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site