RE: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610)

From: Song Bao Hua (Barry Song)
Date: Fri Feb 12 2021 - 03:41:36 EST




> -----Original Message-----
> From: Oleksandr Natalenko [mailto:oleksandr@xxxxxxxxxxxxxx]
> Sent: Friday, February 12, 2021 8:43 PM
> To: Song Bao Hua (Barry Song) <song.bao.hua@xxxxxxxxxxxxx>
> Cc: Mikhail Gavrilov <mikhail.v.gavrilov@xxxxxxxxx>;
> sjenning@xxxxxxxxxxxxxxxxxx; Linux List Kernel Mailing
> <linux-kernel@xxxxxxxxxxxxxxx>; Linux Memory Management List
> <linux-mm@xxxxxxxxx>
> Subject: Re: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610)
>
> Hello.
>
> On Thu, Feb 11, 2021 at 10:43:18AM +0000, Song Bao Hua (Barry Song) wrote:
> > Are you using zsmalloc? There is a known bug on the combination
> > of zsmalloc and zswap, fixed by patches of tiantao:
> >
> > mm: set the sleep_mapped to true for zbud and z3fold
> > mm/zswap: fix variable 'entry' is uninitialized when used
> > mm/zswap: fix potential memory leak
> > mm/zswap: add the flag can_sleep_mapped
> >
> > at Linux-next:
> >
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?q
> t=author&q=tiantao6%40hisilicon.com
>
> Is this a future stable-5.11 material (and/or, potentially, older stable
> branches
> as well)?

I would believe this should be put into 5.11. I will ask Andrew.

>
> --
> Oleksandr Natalenko (post-factum)

Thanks
Barry