Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3920683ybb; Mon, 23 Mar 2020 10:06:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vud15g0QBT9iQbOi5d3Z1JEcXJ7seOJSoMmzTOxisFZqrCw9Cvftte979pBM+OrrySRrObO X-Received: by 2002:a05:6830:1313:: with SMTP id p19mr1057742otq.179.1584983217027; Mon, 23 Mar 2020 10:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584983217; cv=none; d=google.com; s=arc-20160816; b=dVCOVzCFFadrerrO5TkgG0IE3itmliZeqFJ6GFb6v4ZApvKwLDkfo4KZVoSmeaXe54 VIXecPDba8MdnksE1leCI7o3sbdRkxa/xMMbB/Luepken9MPEARC0h23QKmJhJsw1MbA /4AWAaABr87ipCHNAoi/fy4zcIPc/UlWmgFpuPT3CHzqvUzKD78yOr0FAEasxv79ITu0 qYu4NQsFponWlmrh3Krc2fZQpVyAy+sTS+SHyS30UmwAcMBDtLz9//eefep4SA3LxwXD pWwuGXeEeZ2NBvc8V/kfwEx7wU91vuJ3Gh5M9HbzDFS2dmmy2spw+Nj5UENYDZwFDoT1 6yng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=f8ZOKOcAC9Hpeb3jLqvecnoIddDdX2JJ3PCU4+M0d9o=; b=cRy3txlS3q7le0n0++lRBnnYbRuuGHNaW+yD7wV+60b/xIlTiT9U2ntX5YYDnW6brk 6Y0qhrwZtReHW8ZMNDRlz5ksdtGKjvj/AFSd23tPQUt/IqkV3Or1LGiZPEyANVNNuz1I FQmm92A+zYX4kN6qJVS1YM5uKjw21YXILW5F5p9yB/CVZyQjo9V61/YdQsm9y5fFOYAb RPCBdeMGTbStYJSTmEiF7x+QHwkjxAM1zYuVlZD2cGd/Kdt3exscnwxugWHzbuDwk0HS iTrxVmDUzW+WS8hir7CRUGEX5rvpOsSay7eFmZs3q2wTXCg1bRpS/va3Q8EbD4lngxYS sFbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si6987211oib.268.2020.03.23.10.06.42; Mon, 23 Mar 2020 10:06:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbgCWRGN (ORCPT + 99 others); Mon, 23 Mar 2020 13:06:13 -0400 Received: from foss.arm.com ([217.140.110.172]:52120 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbgCWRGN (ORCPT ); Mon, 23 Mar 2020 13:06:13 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 071A01FB; Mon, 23 Mar 2020 10:06:13 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 572A43F7C3; Mon, 23 Mar 2020 10:06:12 -0700 (PDT) Date: Mon, 23 Mar 2020 17:06:10 +0000 From: Qais Yousef To: "Paul E. McKenney" Cc: Davidlohr Bueso , Josh Triplett , linux-kernel@vger.kernel.org Subject: Re: Hit WARN_ON() in rcutorture.c:1055 Message-ID: <20200323170609.w64xrfahd2snfz6h@e107158-lin.cambridge.arm.com> References: <20200323154309.nah44so2556ee56g@e107158-lin.cambridge.arm.com> <20200323155731.GK3199@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200323155731.GK3199@paulmck-ThinkPad-P72> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/23/20 08:57, Paul E. McKenney wrote: > On Mon, Mar 23, 2020 at 03:43:09PM +0000, Qais Yousef wrote: > > Hi > > > > I hit the following warning while running rcutorture tests. It only happens > > when I try to hibernate the system (arm64 Juno-r2). > > Hibernating the system during rcutorture tests. Now that is gutsy! ;-) Hehe was just a side effect of testing the cpu hotplug stuff :-) > > > Let me know if you need additional info. > > 1. Do you need this to work? If so, please tell me your use case. Nope. It just happened while trying to stress the cpu hotplug series I just posted. > > 2. What is line 1055 of your rcutorture.c? Here is my guess: It's 5.6-rc6, sorry should have mentioned in the report. /* Cycle through nesting levels of rcu_expedite_gp() calls. */ if (can_expedite && !(torture_random(&rand) & 0xff & (!!expediting - 1))) { WARN_ON_ONCE(expediting == 0 && rcu_gp_is_expedited()); if (expediting >= 0) rcu_expedite_gp(); else rcu_unexpedite_gp(); if (++expediting > 3) expediting = -expediting; } else if (!can_expedite) { /* Disabled during boot, recheck. */ If it's something you don't care about, then I don't care about too. I just thought I'd report it in case it uncovered something worthwhile. Thanks! -- Qais Yousef