> -----Original Message-----
> From: Oleksandr Natalenko [mailto:oleksa...@natalenko.name]
> Sent: Friday, February 12, 2021 8:43 PM
> To: Song Bao Hua (Barry Song) <song.bao....@hisilicon.com>
> Cc: Mikhail Gavrilov <mikhail.v.gavri...@gmail.com>;
> sjenn...@linux.vnet.ibm.com; Linux List Kernel Mailing
> <linux-kernel@vger.kernel.org>; Linux Memory Management List
> <linux...@kvack.org>
> 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