Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2678688rwl; Thu, 13 Apr 2023 09:25:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTu95laqjWoUDXeWUn39pxdWeqxxKzyjn7P5PRIj5DKZ4OYG6Uj7duiODKtmM9LXAb/jHF X-Received: by 2002:a17:902:e84d:b0:1a6:3b04:92bb with SMTP id t13-20020a170902e84d00b001a63b0492bbmr3239818plg.18.1681403113559; Thu, 13 Apr 2023 09:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681403113; cv=none; d=google.com; s=arc-20160816; b=G014se0pmolk5o9BBQMGQRC6V90NAGh31BqGSQotvuk2KGNdkv1RhOKSDq8wYh8no0 BIPk4ascKzpDqihfyYry/XioOXbmziUFsTDhshYF/UiLaO4QtmHCIFojJ+6GyWQCe9ys YDX+aSCAp9pN1Al9v4SN3g7vpIPdX9DQBHVRh0txmEqBY7yzIP79G8nkg1QfCj9aQl68 ffJk465UjJcKAiSrewpMt5q19fhm0QeM5UDpA2+8WyULI6rkAKJsyy8PGezWM0VdczsQ mjforrXigcaeOpbdF2wSvX9+FIQgG4ci84SZypF7pKh0T6K0ZS0wxvZPQB/q2QwG0LKK r8aw== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=MQrUlI3gdOQBuhRZ31pLlrI4JcQUqvBwFbXtZKRmhPM=; b=QqDZLF5nulJxgYZrQf+RcVw4L/liK190d7rrUyBU2Tx9jJ86otp5mx2ZG9T+hp3FOE Y2AtDAdBhs+lnHI645TCnK7lWt3uKz4JlCuzFJZod4rbgBNI7AJExH2rstgOSfxA2M+Q 9gU3gCV3anoXGgALMK0HmRJ8uGQsJsnuYrWROIb4dK1aUMZuKdJlc1nUmEVlUOZHTTyw OdeijlFdfwNSAn2dCy/e8Svqioc1r1GeLzS25PrTN3kZAQhFBnsoJ1jZJ8nGGwD8VvpK TQ2PXG/5NfoRkE2F3XM6yQvRv7y2CwElQwL8MixPYJZSzVHeRrdlyxACrmNAy2HHNRyy sp2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TFE9II5O; 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 w19-20020a170902a71300b001a654453ef3si2326417plq.54.2023.04.13.09.24.58; Thu, 13 Apr 2023 09:25:13 -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=TFE9II5O; 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 S229742AbjDMQVO (ORCPT + 99 others); Thu, 13 Apr 2023 12:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjDMQVN (ORCPT ); Thu, 13 Apr 2023 12:21:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9BC519AB for ; Thu, 13 Apr 2023 09:21:11 -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 8019763FCB for ; Thu, 13 Apr 2023 16:21:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB825C433EF; Thu, 13 Apr 2023 16:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681402870; bh=DBYN28adC/1qkwY3HnC2KPIlKTz6xLHOhztUP4g1frU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=TFE9II5OCkhht3T7bC9JmPubNd6r5aVGMrm7E6s8pRGxhrRNDLgSp+6rAdEbP/+0E o7N7IpLgZ1FDA2kLxJ5wZZbUWrHCheF5HzdV6sO9a7ZydGrgEq7b/LwLAfDf3+V7QV VIBns9PRNgzF2q4NCHl+KBcYu7rihT7c65vmwxgS4EOlCCcdZOqgvd3CofVSJShAAn HrNK6V1XygYdKa8FMTPDJBucW8RhhhQmzh640f0rg+4KpGzheBDMAhZMh3mdnoF24I eMdwehmI/9dotrxxR6acjZYjcfwhba9gre2zjc+HzyAJZRJLqFt4TPsQLSYNFOYi/i xbl7N0rTaY2+w== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 6E39F15404B3; Thu, 13 Apr 2023 09:21:10 -0700 (PDT) Date: Thu, 13 Apr 2023 09:21:10 -0700 From: "Paul E. McKenney" To: Rui Salvaterra Cc: Jani Nikula , rodrigo.vivi@intel.com, tvrtko.ursulin@linux.intel.com, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [BUG?] INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-.... } 3 jiffies s: 309 root: 0x1/. Message-ID: <1384f15b-228f-4a6b-8ac3-d0437db8bc1c@paulmck-laptop> Reply-To: paulmck@kernel.org References: <87r0spcuvi.fsf@intel.com> <2495408f-a644-4e56-aaca-e6915cbda179@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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, Apr 13, 2023 at 04:32:32PM +0100, Rui Salvaterra wrote: > Hi, Paul, > > On Thu, 13 Apr 2023 at 15:43, Paul E. McKenney wrote: > > > > My guess would be that you have CONFIG_RCU_EXP_CPU_STALL_TIMEOUT set to > > some small non-zero number, for example, you might have set up a recent > > Android .config or some such. The default of zero would give you about > > 21 seconds rather than the three jiffies that you are seeing. > > > > Could you please check your .config? > > Well, this is embarrassing. I can't fathom why/how, but I had it set > to 20, on this machine. That is, 20 millisseconds. I guess its a > miracle I haven't seen *more* expedited RCU traces. Sorry for the > noise, everyone. Been there, done that! And actually, it is kind of reassuring that the Linux kernel avoids tens-of-milliseocnds latency blows in the common case on your system. Thanx, Paul