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 B62F2C433E0 for ; Fri, 12 Feb 2021 07:44:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B45864E57 for ; Fri, 12 Feb 2021 07:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbhBLHoM (ORCPT ); Fri, 12 Feb 2021 02:44:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbhBLHn0 (ORCPT ); Fri, 12 Feb 2021 02:43:26 -0500 Received: from vulcan.natalenko.name (vulcan.natalenko.name [IPv6:2001:19f0:6c00:8846:5400:ff:fe0c:dfa0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C8A1C061574 for ; Thu, 11 Feb 2021 23:42:42 -0800 (PST) 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)