Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2781791pxb; Fri, 12 Feb 2021 00:44:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1OUEL0n5g/QyErC84rBEGI9FIqBZ/V18EN+qQkH1qZAblbEFcvQC1cgPWV6jMrItkayH6 X-Received: by 2002:a17:906:9705:: with SMTP id k5mr1963081ejx.325.1613119474874; Fri, 12 Feb 2021 00:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613119474; cv=none; d=google.com; s=arc-20160816; b=GXp/kdoeqA+/d3ZF3FzGFjnAomeAPgqvb1kODKzmUw4uhsXONpyqm/4TKOWY9t+YoE +aRuMfjh/DhmfYGYWo13qUdakbW6gET5yLHzDXxHU8YWYAHEHnl9uQmcpN2DMPIMtkQs t9Q2qrGBTI2xOXg5XMg/v7zrn2BVVT0nsrpQDZu4a3YOqatop1OtwpS2V6VjjPr41npN oer1sGKcktZsEsX4zK1ggehbTnYDwHVy/03RhlqCRKvMAVuxkF8qQx8oKzRgegc8by5q Qf2U4IMZt+MFbNSqi10hjQMXEt7z1gtJTHn60+LFqGAkAz4sfYTu7G4M7doZ4/qdn3+N Y5pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=iO/m0SazKORNMOeVWWx/ttA1ppIljyxwNTjbD/GYX8Y=; b=jvSuKMjCeWV/Lt4ho0PG4iNDUwOAWlkbHygVE/Dh5jLTtQOVfC1z67spmMnVhGLf5g 8ePM4pCunqAZhzRxG8slNoyk4ocUNM/of82iop8AsL/LfwowcOfg0JMX/jv7BwQmDiQN o4wW4GQxDGvc+8xZAUBhl+QJprsv/R2RSyXw4jvZgjiNorf9ADRk5nnTS3ZImoh2trd0 FQd/o2OL2H9/qMKD4KK1y69TAguckdSrw4i9J8QEpeyZUnsP+yMy6JUA1goKu1i/chKb jLtSgefazJRi3AbKmxsBmWeaDod8W4Kcotdq18YJypBmNDqM7UKEXzjinbCmUI10ISkJ 4iCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si5554950edq.266.2021.02.12.00.44.10; Fri, 12 Feb 2021 00:44:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbhBLIlb convert rfc822-to-8bit (ORCPT + 99 others); Fri, 12 Feb 2021 03:41:31 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:4627 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbhBLIlD (ORCPT ); Fri, 12 Feb 2021 03:41:03 -0500 Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4DcRjm3md3zY7bG; Fri, 12 Feb 2021 16:38:52 +0800 (CST) Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by DGGEMM403-HUB.china.huawei.com (10.3.20.211) with Microsoft SMTP Server (TLS) id 14.3.498.0; Fri, 12 Feb 2021 16:40:09 +0800 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggemi761-chm.china.huawei.com (10.1.198.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Fri, 12 Feb 2021 16:40:09 +0800 Received: from dggemi761-chm.china.huawei.com ([10.9.49.202]) by dggemi761-chm.china.huawei.com ([10.9.49.202]) with mapi id 15.01.2106.006; Fri, 12 Feb 2021 16:40:09 +0800 From: "Song Bao Hua (Barry Song)" To: Oleksandr Natalenko CC: Mikhail Gavrilov , "sjenning@linux.vnet.ibm.com" , "Linux List Kernel Mailing" , Linux Memory Management List Subject: RE: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610) Thread-Topic: kernel BUG at mm/zswap.c:1275! (rc6 - git 61556703b610) Thread-Index: AQHXAFP/pTUK4Kj84UiROgFUcTG6DapSwoOggADb+QCAAJRVcA== Date: Fri, 12 Feb 2021 08:40:09 +0000 Message-ID: <1ad147ed4e71406698f5df9305acfe38@hisilicon.com> References: <2538f4c21dd2405aac2abb776047a0fa@hisilicon.com> <20210212074234.vumx4odistyhbu4m@spock.localdomain> In-Reply-To: <20210212074234.vumx4odistyhbu4m@spock.localdomain> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.202.192] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Oleksandr Natalenko [mailto:oleksandr@natalenko.name] > Sent: Friday, February 12, 2021 8:43 PM > To: Song Bao Hua (Barry Song) > Cc: Mikhail Gavrilov ; > sjenning@linux.vnet.ibm.com; Linux List Kernel Mailing > ; Linux Memory Management List > > 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