Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2432368rwd; Wed, 14 Jun 2023 02:45:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tAkbq+Jn9jUkZcOYlHfTG2xF+412kbR4+PwcZ8b7dc9JqeIQhZRDi7k+uvgvTmI0K8vE+ X-Received: by 2002:a17:902:e84e:b0:1a0:76e8:a4d with SMTP id t14-20020a170902e84e00b001a076e80a4dmr1582315plg.14.1686735939568; Wed, 14 Jun 2023 02:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686735939; cv=none; d=google.com; s=arc-20160816; b=Dl/9u5x9BrlVKFwcJBJlFZSNpob13B9OQb/XHti6RdF7ryQ6bGuhetHpaeKf8GAzq2 luxQ1GTXPHHnPeO3uKjzsnyDTKMlh/VSb2IBQ61quy+JUD7/Xe89ucL6fpJqgMKJlmGn 3goGwZaZNR4b7mZCDvDqPQAWITANoH6/nEgG3vnax/seun2PKQMA3ipt6TGvBgwXBiBH ijeZuxyWGdu+2HqTDyiSf1uk1bl9fRO9Jx3LcUI09AyD7TXrOgpfS+FMTg8OhKy5/3JW j9SaGbjNC80MaXHjU53iC0cX/JnmYLrdxeG0WXUmZ3+NmzPj6nDGU0gfE7bdvHlUelmA Mahw== 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=CM22ppLYA0lP7LCs03/kMyzDUo7NTPeKJroCjeoTlIg=; b=0vEpukuiPgRyznUR04088hr26Aiqds98FD7C0kx0yqMpfoXaHRT+6O77gQCV46Ld5X Ycf78HmFXda58rlgTGjYPTegCFzSRR9zq/LtWxcoJIB7rGYdxtwxDS7q94in4J2A0yDb K1pULoIyHzh+ZurEh7vA+1mbuz4SHMXC4es/SjTZV+/0i14dHYHhbS2UDxPLyifGtAdx oTA6UtEQexb7e0zL9XFE+7QTEHatbHtbMU9gPR576hLoixqOivIX+plsaZyTefpJnvaX 6FO1JDXg3kHJTCFHaJ5UeBHCFHbIWgmKN1ATNBvUhRJ3fDycTFPLoewdN6V2JIPbJniC uOdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cbPlxrlV; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a170902cec600b001ae7c646551si11346053plg.392.2023.06.14.02.45.27; Wed, 14 Jun 2023 02:45:39 -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=@linuxfoundation.org header.s=korg header.b=cbPlxrlV; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243918AbjFNJOX (ORCPT + 99 others); Wed, 14 Jun 2023 05:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243910AbjFNJOT (ORCPT ); Wed, 14 Jun 2023 05:14:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF4E619A; Wed, 14 Jun 2023 02:14:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8567563C4C; Wed, 14 Jun 2023 09:14:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53F35C433C0; Wed, 14 Jun 2023 09:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686734057; bh=kym+UrHXeS/jGQkJSw6IV+Zo6cNmCGpWRmArDg8e61M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cbPlxrlV7qjglzs33359c6Wx2qZbEirYt4joYcDwoDrLPq0IHyP/N+6QzcJ1Zw/lF KkGKBKmGmdg6oNS/iiVw+jgagITmAN9ca4Wu1y+4SkT5vv+gpTzMiQuP1NxqszO4Xo 2432Yp+OOc7lDWhrkWU8ls0P225SfekTO/im4c2s= Date: Wed, 14 Jun 2023 11:14:14 +0200 From: "gregkh@linuxfoundation.org" To: "Bhatnagar, Rishabh" Cc: bigeasy@linutronix.de, "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "sashal@kernel.org" , luizcap@amazon.com, abuehaze@amazon.com, "stable@vger.kernel.org" Subject: Re: Observing RCU stalls in kernel 5.4/5.10/5.15/6.1 stable trees Message-ID: <2023061457-king-broadcast-f47e@gregkh> References: <12c6f9a3-d087-b824-0d05-0d18c9bc1bf3@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jun 13, 2023 at 11:58:05AM -0700, Bhatnagar, Rishabh wrote: > > On 6/13/23 11:49 AM, Bhatnagar, Rishabh wrote: > > Hi Sebastian/Greg > > > > We are seeing RCU stall warnings from recent stable tree updates: > > 5.4.243, 5.10.180, 5.15.113, 6.1.31 onwards. > > This is seen in the upstream stable trees without any downstream patches. > > > > The issue is seen few minutes after booting without any workload. > > We launch hundred's of virtual instances and this shows up in 1-2 > > instances, so its hard to reproduce. > > Attaching a few stack traces below. > > > > The issue can be seen on virtual and baremetal instances. > > Another interesting point is we only see this on x86 based instances. > > We also did test this on linux-mainline but were not able to reproduce > > the issue. > > So maybe there's a fixup or related commit that has gone in? > > > > We tried bisecting the stable trees and found that after reverting the > > below commit we couldn't reproduce this in any of the kernels > > consistently. > > > > tick/common: Align tick period with the HZ tick. [ Upstream commit > > e9523a0d81899361214d118ad60ef76f0e92f71d ] > > > > > > Not exactly sure how this commit is affecting all stable kernels. > > Can you take a look at this issue and share your insight? Does this issue also show up in 6.3.y and in 6.4-rc5? thanks, greg k-h