Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp8029534rwl; Thu, 23 Mar 2023 11:35:53 -0700 (PDT) X-Google-Smtp-Source: AKy350ZAOz/EzUXJBGQATVx8077B9Z/Qht1PiTuvISx9BAiE4fXGwZLubNGxb9si+49AgOu0PJOn X-Received: by 2002:a17:906:688d:b0:92b:e330:a79e with SMTP id n13-20020a170906688d00b0092be330a79emr47022ejr.29.1679596553464; Thu, 23 Mar 2023 11:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679596553; cv=none; d=google.com; s=arc-20160816; b=0VRlTDua79a3Cxa8RR7ibQoR8vcWKkQAkS46lSSx2gThEWlq3kze9Jk2f5oeMvWYJH JLYPtWD7o6X1uC/FMx1HfqRbbd5zLLTXH8C68Fr5TKVhzku/cqO7q3OG/qZhNZCpKtiF Yz8O2DSeBAE9ocsBexXdFEAhAWZGwTCiwpLGRfVWurBug4bHK7PkNDeRWciy6GSBaXjX f7pyqptaK97uFymf/xT6qkLw6FcW+kyagXPnxEUDj1J4BgHoNWmU6UKyl41uoJYQx/DL ZRTHeTOaOAfXjbzlaGTS2bFc/s4K4cjgc4ALdKH09IaqM48lS8qleXcP70wrwkDy4khH VoSg== 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-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=dNAcpUdU49lLCdyRSeBrNyBImHyG70tPIDyYUc6VOio=; b=NuOHuH+u1BMSTDo3wnU9lxFqN9s9VrtIiBnywb3n8sjgKRjchvaeDzuWV1kEBfDquW M8InenghKSvJTMwjvX3e4i34KQsWq30DMZ0pWdqNDkgOYVpEQ8ixBraNHrjxSYZsAmEf yy5kBRRScT7JiyUFf3YrCt1xYjjD23AyyW5gQ4bhUjWbpQngFP041ECsBSbdm1/NCawo HMbM+BqFW6BScL2MGeNBBpyKOFkap/dVy+s0Z2V0fyVuWHkNaS64VXxnfKg8ePrYDrEi XgZjIob078a/HJsEYKWTak9MkE3cwuUN5l3s3Zth9OK1blPKNmgXGMKN++U1s6m1FVwS bOeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dsesqpn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd36-20020a1709076e2400b009341587edabsi16064770ejc.89.2023.03.23.11.35.28; Thu, 23 Mar 2023 11:35:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dsesqpn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbjCWSea (ORCPT + 99 others); Thu, 23 Mar 2023 14:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbjCWSeZ (ORCPT ); Thu, 23 Mar 2023 14:34:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E6A25286; Thu, 23 Mar 2023 11:34:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 542F46285C; Thu, 23 Mar 2023 18:34:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3AF6C433EF; Thu, 23 Mar 2023 18:34:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679596463; bh=cbM4eh9+G5u44urX8yb80DsKZlsjHhpGtzb4F/RXZbE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Dsesqpn+JLClFeqe0E866tT+jCL1VcXlGmYUpmMMflVF/ozl14+UP2rthdfxylFA7 vHEbM3uSE+kVFVUR7oKf+/7gvb2Itn9BLFbeRLezNnQ1vRlhPr+K2IlpW2PWWjQToB 17URw7s+voHD8pMOKgOkdmyWzjfjY5tYRyTqcOvXNMMdIwL40FCi7Wf99j877NeeOg 5JJrHxHDHyPGr/6fbjQGpQsciSFsfbVH/aclta5RwwhTHaAKO+OFYwaiAHBwhcBb97 XGSDxrgDZC8oPnZruijpapexEN6KkEJZ3CCkuy92/6+odUC97gd9+tkhCtv+8dJH1S buvShBL1GOoQA== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 50BA01540398; Thu, 23 Mar 2023 11:34:23 -0700 (PDT) Date: Thu, 23 Mar 2023 11:34:23 -0700 From: "Paul E. McKenney" To: Sachin Sant Cc: linuxppc-dev , linux-next@vger.kernel.org, open list , Zqiang Subject: Re: [next-20230322] Kernel WARN at kernel/workqueue.c:3182 (rcutorture) Message-ID: Reply-To: paulmck@kernel.org References: <139BEB3F-BC1C-4ABA-8928-9A8EF3FB5EDD@linux.ibm.com> <233B28DA-70DD-4AD8-9C72-1FFCA6EFE56D@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <233B28DA-70DD-4AD8-9C72-1FFCA6EFE56D@linux.ibm.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 23, 2023 at 11:00:59PM +0530, Sachin Sant wrote: > > >> [ 3629.243407] NIP [00007fff8cd39558] 0x7fff8cd39558 > >> [ 3629.243410] LR [000000010d800398] 0x10d800398 > >> [ 3629.243413] --- interrupt: c00 > >> [ 3629.243415] Code: 419dffa4 e93a0078 39400001 552907be 2f890000 7d20579e 0b090000 e95a0078 e91a0080 39200001 7fa85000 7d204f9e <0b090000> 7f23cb78 4bfffd65 0b030000 > >> [ 3629.243430] ---[ end trace 0000000000000000 ]— > >> > >> These warnings are repeated few times. The LTP test is marked as PASS. > >> > >> Git bisect point to the following patch > >> commit f46a5170e6e7d5f836f2199fe82cdb0b4363427f > >> srcu: Use static init for statically allocated in-module srcu_struct > > > > Hello, Sachin, and it looks like you hit something that Zqiang and I > > have been tracking down. I am guessing that you were using modprobe > > and rmmod to make this happen, and that this happened at rmmod time. > > > Yes, the LTP test script rcu_torture.sh relies on modprobe to load/unload > the rcutorture module. > > > Whatever the reproducer, does the following patch help? > > Thank you for the patch. Yes, with this patch applied, the test completes > successfully without the reported warning. Very good, thank you! May we have your Tested-by? Thanx, Paul