Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp497927pxb; Fri, 15 Oct 2021 09:44:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs3C8ncMqAlwGm1peFt6F+MI4s2fGbMh2LyP3AqF2DJ8xEwXi7chasp6gE4+MuuXp9DPAg X-Received: by 2002:a17:90a:5515:: with SMTP id b21mr14615571pji.239.1634316278396; Fri, 15 Oct 2021 09:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634316278; cv=none; d=google.com; s=arc-20160816; b=ffCuiPjxqSFQ1BcygLJB8yZgJrGnnGmm5RDuA9t5gsuyd/t/OfyYnWS2449aAEpwyC eclGmSvN+YYCNakGylLe3L8zCi1tnkewQV1duLMq/hOJF4UEErlFWbJT2/mcBXQQWQdE zV4OIvv/IRWQhWI/b9u7vjxdeNO95TL7wvfILaAQVnuTfW+xzqtK4nW0zJfTBoeXDgmw N+nZcLs7jT1GNs4MKAyJDaDBvJC27lAksmZFzBKRuVcEU4UPDSBFQvNAQckhjhpC8nM0 jYZguy2dJatcLfdka/FmuJrw5ir7MUvHfchmeQKi3XNpgiDAHiMQ25Phmatdx3Het9sb Epfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zu9rhhF+PotP2TC07JSZBIBpMAPkgudBxONtli2SBUU=; b=nbKytvw6ON56Out2OE9Yy+NcJ9KqOR/zp6/cjcp4ndUBBGOHH90WKpcVMlom6Pz32j J7n+y+wdAqAQxpjdBvEl2/lUsjqMyHk9S0kpmQRnYPRe21GGvV/J4D5Q/pxxt/Ky+RNN soWrzOzwPL72qcW1yagu/agYNnMcAqKER3YQikw2dS0OBaiDoeoOdKzSVFzKJewNsZCG +84hg2iBPBZL5rYQhHjK/VOvKDFK+TvpMdJOthhn9OQ2+fpx6C1s6MS9pqgzMMLlomlb 2lTEdrGz9PyKtA2XwsPHqjPUwB4w4oMw0c7t2i0cR+hjSRcMYai0sGatZqNcdud5duxV vn9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jLqEoyo3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si8441572pgi.146.2021.10.15.09.44.12; Fri, 15 Oct 2021 09:44:38 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jLqEoyo3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235796AbhJOIyM (ORCPT + 99 others); Fri, 15 Oct 2021 04:54:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:46952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235391AbhJOIyJ (ORCPT ); Fri, 15 Oct 2021 04:54:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D7EF26109E; Fri, 15 Oct 2021 08:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634287923; bh=W0xAcJkW8KdBFsJ63oVYPtXGFhdoFVWNeDyM8kiFZ8M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jLqEoyo3OdfLn5YKYCXm4p+vFFf9v1O/fleKCvft+boHLGAy22Pra75iPEGpvAv1l X2KwqEU0hw0zrjB8LyPBJcqYbyhzGp06itzL06FB/gbebMxNvEUwCjn1AHdh+HGhXZ E4/RQPqcHcmHuyJ74in2eZAijam1OnLrAgvdOXGg= Date: Fri, 15 Oct 2021 10:52:01 +0200 From: Greg KH To: Ming Lei Cc: Luis Chamberlain , tj@kernel.org, akpm@linux-foundation.org, minchan@kernel.org, jeyu@kernel.org, shuah@kernel.org, bvanassche@acm.org, dan.j.williams@intel.com, joe@perches.com, tglx@linutronix.de, keescook@chromium.org, rostedt@goodmis.org, linux-spdx@vger.kernel.org, linux-doc@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 11/12] zram: fix crashes with cpu hotplug multistate Message-ID: References: <20210927163805.808907-1-mcgrof@kernel.org> <20210927163805.808907-12-mcgrof@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 15, 2021 at 04:36:11PM +0800, Ming Lei wrote: > On Thu, Oct 14, 2021 at 05:22:40PM -0700, Luis Chamberlain wrote: > > On Fri, Oct 15, 2021 at 07:52:04AM +0800, Ming Lei wrote: > ... > > > > > > We need to understand the exact reason why there is still cpuhp node > > > left, can you share us the exact steps for reproducing the issue? > > > Otherwise we may have to trace and narrow down the reason. > > > > See my commit log for my own fix for this issue. > > OK, thanks! > > I can reproduce the issue, and the reason is that reset_store fails > zram_remove() when unloading module, then the warning is caused. > > The top 3 patches in the following tree can fix the issue: > > https://github.com/ming1/linux/commits/my_v5.15-blk-dev At a quick glance, those look sane to me, nice work. greg k-h