Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp487981pxb; Fri, 15 Oct 2021 09:32:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws4ub6psXBs5ZC1dU2VWWtHjPxfUf/VnuyHEcIHo+ScOj9J8l9qv7fmhre2GZae6w2KqRF X-Received: by 2002:a17:90b:248:: with SMTP id fz8mr28208931pjb.157.1634315530104; Fri, 15 Oct 2021 09:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634315530; cv=none; d=google.com; s=arc-20160816; b=AIl+8ZhJ2xytqrjuZ566AEbPQ/qLhltWKiZsja7u1qGXZU5J7qkyrgWcCX7h9S81Xy zq0fSd+SI5vOHPQFZJJMgPjeRm+Th1aQDkE0PrIE3vpuL9sGQFo9lOZtGRp4gtAdLmtW d20jy0KH0jALP23mm9t8yv9bmB2IY7uaPJ5ZN49qm2+CQ3x+eJ6W0h+hdM7pEMczn3oQ yznjWcQ/6vLsq12DxvwRiEOTYOYqfk8UoPACFRqlFBNX4Oe8bYC944PVrPBDQV2ghVYR uSLAtWeDJg61wVO7xA/3a5n2+2XcNe2qGrbFJCDys9lBKz3QB60qqYmJAKcZfp6AtdKJ 5zCA== 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=jln/0dXddJnV8Enx7M67nr+qrzZMhGUG5wRmnfwIXgc=; b=c7q6ON7M/pyJ058AsFQLnh6T+8UOeC2sAgeIzJvESqJ5tPW18Mc0hxIHjqox6vpWcV Lb6qVNZZvi3TYwzR2jqVzcDl3f5ZVFgFev0iOMG3+nCb88CUZLe0f32uB44jTMoB8lZk +UlUyDsjJ11FP7QQ4Bez4EnDDQyBSwov29/+UFgCjD3AkIG1xOwYJ8QTqerCAFJi7c83 bCJ8J1ZAgJX2x/FPgr+AhuOF/uMXvBSW17OKpMpri32weQvdYP7vfX9ngW9HDkv0atlJ Ql1DpktlMMl0QhOrg83gNg0OnROltTazuZh1UTrOi6f8jv2hd+WFYPmAi9N62i8y4Xff h9iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EHLzL2y9; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si10276081pfk.357.2021.10.15.09.31.55; Fri, 15 Oct 2021 09:32:10 -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=@redhat.com header.s=mimecast20190719 header.b=EHLzL2y9; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237138AbhJOIio (ORCPT + 99 others); Fri, 15 Oct 2021 04:38:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:45239 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237090AbhJOIin (ORCPT ); Fri, 15 Oct 2021 04:38:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634286997; 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=jln/0dXddJnV8Enx7M67nr+qrzZMhGUG5wRmnfwIXgc=; b=EHLzL2y9YsDFQnnFvhcIB9OE2QKu50RaBWzsTJhwIR+fzkpgaoYUw532OeXO4aoVSsXKzt hn2f7JLIhORUdas+qEd2J5f64/dk3Q/HpN3imWbI/pyYUGxZhj1gWbuKf91iJx8PBYX3gS jp4QDWsQ7UjwtAF+fZuG42fCJAUxyQE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-301-_IJ435cvMBOZ6mAirGtW1g-1; Fri, 15 Oct 2021 04:36:31 -0400 X-MC-Unique: _IJ435cvMBOZ6mAirGtW1g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0B31010B3940; Fri, 15 Oct 2021 08:36:29 +0000 (UTC) Received: from T590 (ovpn-8-22.pek2.redhat.com [10.72.8.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5326B5BAF8; Fri, 15 Oct 2021 08:36:15 +0000 (UTC) Date: Fri, 15 Oct 2021 16:36:11 +0800 From: Ming Lei To: Luis Chamberlain Cc: tj@kernel.org, gregkh@linuxfoundation.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: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks, Ming