Re: [PATCH] mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux