From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4408C433E0 for ; Fri, 12 Feb 2021 07:42:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 36EE664E8A for ; Fri, 12 Feb 2021 07:42:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36EE664E8A Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=natalenko.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A3C8B8D002B; Fri, 12 Feb 2021 02:42:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A134E8D0015; Fri, 12 Feb 2021 02:42:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 929358D002B; Fri, 12 Feb 2021 02:42:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0229.hostedemail.com [216.40.44.229]) by kanga.kvack.org (Postfix) with ESMTP id 7BA6F8D0015 for ; Fri, 12 Feb 2021 02:42:43 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 404C8EFFE for ; Fri, 12 Feb 2021 07:42:43 +0000 (UTC) X-FDA: 77808823806.19.sleep89_04081732761f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id 1DF401ACC31 for ; Fri, 12 Feb 2021 07:42:43 +0000 (UTC) X-HE-Tag: sleep89_04081732761f X-Filterd-Recvd-Size: 2581 Received: from vulcan.natalenko.name (vulcan.natalenko.name [104.207.131.136]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Fri, 12 Feb 2021 07:42:41 +0000 (UTC) Received: from localhost (kaktus.kanapka.ml [151.237.229.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 9209B98B165; Fri, 12 Feb 2021 08:42:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1613115754; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bMTrgXz+EclRf8Nzne07lJpNQPGCITvy7cG07cDm6qc=; b=BXerbnRxtvZrdlHUNJn4gj2zuwSw1hEzSudfnsN6iGhsXVE/RMBpeVOIvrGmq5ZWGpvRwZ k36df/+K8+/CyJ5omMcHyjNep3pP2/J59guJ5ckyfeg3uniMjgh9M7KlOD51ibdor8B24/ QmVrHu872QxzaJF6xeTwgjUW298Kmas= Date: Fri, 12 Feb 2021 08:42:34 +0100 From: Oleksandr Natalenko 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) Message-ID: <20210212074234.vumx4odistyhbu4m@spock.localdomain> References: <2538f4c21dd2405aac2abb776047a0fa@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2538f4c21dd2405aac2abb776047a0fa@hisilicon.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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/?qt=author&q=tiantao6%40hisilicon.com Is this a future stable-5.11 material (and/or, potentially, older stable branches as well)? -- Oleksandr Natalenko (post-factum)