Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp928592rdb; Sat, 6 Jan 2024 16:49:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIiH+T+s1eJmbhYCZqglPgARIgY7umVZsGwOHCBw4KcLv2NbmGEUhcreQIHSGexJ7wMBwm X-Received: by 2002:a17:906:c048:b0:a29:b667:6dbc with SMTP id bm8-20020a170906c04800b00a29b6676dbcmr626205ejb.133.1704588598029; Sat, 06 Jan 2024 16:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704588598; cv=none; d=google.com; s=arc-20160816; b=qaFjrnepjElfnF1sOekCwf3njQWlcVFNPTz75w/fWW1zdMuNIyC4CGuxvM8LIPu/rn igj6dS9hIoBAPTQ8FpldixIsD4KtlbyF7oGRZF0qtvbwjTdsGmAGykENtMXOJ/di9A8f jm99LcJpUKV+gHee8oSAE698pO63D2RbrxfHzlMFALc2VBI3m1ZEtMrR3pqdHH6CWLwC AHKhUgaU8rLKYO3Xzl0k6MbAEHHT1eScNroi5AJugTrgovT29xR5GeyE8vVnvHlZ4+K6 J8PNN+oWpBzdGGUaoBo/yko5FoIDwMQbZEduW62soVS9b6d712B6PlGkz7m/RSAeM5Ro 2eFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=NMjca+wsbaA9LcSnjzppUwPkKnU6ie0nccj/JpHngjI=; fh=LCL/ACy2Wt4hF880rplFy1yv0BtnYFZp7eUyRRHyEA0=; b=VDMz4uU7qIV049HCNAovLHsV5UxrjfCkaDKqEGFkSRbyxRsDzNmAkKVaSetSyfkCri teUGP2GVYRdZKTl74cVnI1RS/xdqWzZt3npNQiG4Ynz6zR1UW14rAH7tqVXTXPAlgz9y HCoVCJph4ousMlrZZUyqP8sVwflSL6J+sZ3sIZGV9Zo9Y1hkelY3Phh/1ioaHL1yX/pZ ZIYOiRBUHfNIvJUSMxaXYVrfHtfj6vxFbTHoK5F/hE8TfJnZPuWGGdfVuer876OVYlVe jgIgtae+KmG98c0XGkzHvIGjdkJHZEgP4BmeyHpKWDtjddll8JFxh8NxR/ESp2CAL+K6 iBhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=enPzEd0A; spf=pass (google.com: domain of linux-kernel+bounces-18751-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r12-20020a170906350c00b00a27e28aaaa3si1950057eja.373.2024.01.06.16.49.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 16:49:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18751-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=enPzEd0A; spf=pass (google.com: domain of linux-kernel+bounces-18751-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B033A1F21E2B for ; Sun, 7 Jan 2024 00:49:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B2BC15B2; Sun, 7 Jan 2024 00:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="enPzEd0A" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E644137F for ; Sun, 7 Jan 2024 00:49:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0552C433C7; Sun, 7 Jan 2024 00:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704588589; bh=+zMBNVNcBRxMqLOkvk51UWJra7kOFYLL5nN74pm91Gs=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=enPzEd0A+HtzD82JzD/mCUvqz7T4CpIFes6VWTw/9MBEcKhJOwzUg3Q0yCREolsLp NoMr/cmGCWeGbOmUSj8xX3HiVWFr8zBdw6Oik5316LjWtw5PUSLMvSc5z2id3O6g6z iacvLO50QggUVOQGWIE2dVWDpq6FcXhPmHOn48qRhNcgB+RzaqtqIMCBo1GaPH5l0O FF/SStRtyyHuAXbIpuI3XhPOWXGH7zUVeH1enpdmTct4rIiRFt3TIPeS+H71CtPUjO chH/Fako32S/g7wQgrgYdBUrbPyeO/oPhjBCJ2OGMGnNB3Sqo0Q8bPslawhNwV6S8z +8ZDeUmQGuDdw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 39788CE1466; Sat, 6 Jan 2024 16:49:49 -0800 (PST) Date: Sat, 6 Jan 2024 16:49:49 -0800 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: linux-kernel@vger.kernel.org Subject: Re: Prototype patch to avoid TREE07 rcu_torture_writer() stalls Message-ID: <127b057c-446e-4b3f-bb04-d1c4efdded0f@paulmck-laptop> Reply-To: paulmck@kernel.org References: <3da2e014-ed54-4b2a-9fde-99d6eef3e897@paulmck-laptop> <8c135e1a-5f66-42ae-9749-71a65f86dcbf@paulmck-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sat, Jan 06, 2024 at 11:36:03PM +0100, Frederic Weisbecker wrote: > Le Sat, Jan 06, 2024 at 06:55:14AM -0800, Paul E. McKenney a ?crit : > > > Is this related? > > > > > > But then the system picks itself up, dusts itself off, and goes along > > > as if nothing had happened. > > > > > > Maybe a long-running IRQ, NMI, or SMI? > > > > Or, based on a recent bug chase of another type, high contention on > > an IRQ-disabled spinlock? > > Before checking the guest's dmesg, I should probably have checked the host's. > It seems to report some softlockups, perhaps due to too many instances > in parallel where memory is not that generous. That would do it! > Let me try to run as much time (250 hours) but with fewer instances in > parallel. I just today saw an extended stall on one instance of TREE03, also RCU grace-period kthread starvation. But this was in -next, which is also having other yet-as-unanalyzed issues. Thanx, Paul