Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp221415rdh; Mon, 18 Dec 2023 17:40:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHflNaqmqYy6F1WIsG+iGiHjWDmELFx6P7UWvYaN1NKO45Ctn7MDzlIe45FBQGMDKgp6+5L X-Received: by 2002:a05:622a:138b:b0:423:9cce:296d with SMTP id o11-20020a05622a138b00b004239cce296dmr29187276qtk.37.1702950051155; Mon, 18 Dec 2023 17:40:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702950051; cv=none; d=google.com; s=arc-20160816; b=BGjJ3/CbEfPkUv4PtqpWzW1oMRVy0pJTSlE43n5f1NRNmEOHROOJgIQZvHo/dgDA5l YzRVALBhzru8uPuaIXyg3WO0zAK5VoIVu3566AyWJVhPMm/CdBoQQPx2A/MmYmcwB/gp oZtZPr86SnOdehrkw+jj5K+N7IE30LFeKPbc5rnCt3+9U59RorZFc1Tyg0DIOc4ypbcT ZXvtAQdyKu5a8ljEw27QdsaWVsKPqD/Liz/Mf0mt6o1Zxax2kRgFoRldbyeNnl3OMOZx qmBt7txNnJ3TqEoq3NI7oZgoYnMq7sV9cNasMWVA7BP9CveWiWdrtfLqbh8evyKk296W z+dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=yvF7SnkS6DkEPmNK5BZf09IEAiInDcqu5Ze51NJ8lkw=; fh=BCHpQm00MNUHHRGwtvv3FlsX/ceID9joZYcAC0YOthk=; b=jB6lOZGxCPc00+a526WkXkPVDsUtxVsv/D6stJkOkI+VXXmbyIYqpuWLf7amM6anOE z+n7uvOsjrSTdBpbybeocF0jSpCbYhs+q3Buz46vSR2KS8aInPEFZgS1zmNW0lIXGUfe 3sIXG77DYF7YP90cSWdrtByHWIH2wTzhCdbYen8Oos8Ue+Jwp3lPuH4j/7GvRRQVmyGm OX4rshdl1VYs8/o6yYObwt8vBgBpQ32hjb07rMt4FDm0PNc8i0GmfjXd6dg9FBceP9fh Q90TtslarAditvwSE8w8Gird9eEaaojUJHTUkHjlJPMqzHtXATlmAr6cS8CPp0hq0Zdw rHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nqEconij; spf=pass (google.com: domain of linux-kernel+bounces-4562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 13-20020ac84e8d000000b00426132595a0si8741627qtp.742.2023.12.18.17.40.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 17:40:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nqEconij; spf=pass (google.com: domain of linux-kernel+bounces-4562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4562-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E68A21C22F86 for ; Tue, 19 Dec 2023 01:40:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7B1F4409; Tue, 19 Dec 2023 01:40:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nqEconij" 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 25D701FAE; Tue, 19 Dec 2023 01:40:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8948BC433C7; Tue, 19 Dec 2023 01:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702950042; bh=dUKH6D+WzIOMLrgnYnmJD46YvRtTLGyBcs3F5gy8Mq0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=nqEconijl9NAh7LJLyv62d/EeGs4eXqV7spb1vnkNwT3hu7MPrvR7AYsXv/PN9mxm OBKFxk1DwQZIlmggh17z+SIH04TYkmjMqh95gMY8uaj3zPeT+TfYk/7wFdRMfEjwby JjjXHv8X8Xkn4+qSYwuFGHbOfj7piL6pSfLEyh7ysTNohR/8oYxO+a022dM7wdaGRz njk1QCgF9cXH605zcwzNe1C7XeHYRutjWes1XCEHvDvJNhZvU0/scBRiqV0VGU1Jki Jp9L4hCCne67b8Vq/pngY2TNhG6LGS7P4j7DLv2MrXp99qbpUsnUT9I5gTlhYkO42e nkQJhf7PxTTkw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 16D35CE0BDF; Mon, 18 Dec 2023 17:40:42 -0800 (PST) Date: Mon, 18 Dec 2023 17:40:42 -0800 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: LKML , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Zqiang , rcu , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH 0/3] timers & RCU: Fix TREE03 stalls Message-ID: Reply-To: paulmck@kernel.org References: <20231218231916.11719-1-frederic@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231218231916.11719-1-frederic@kernel.org> On Tue, Dec 19, 2023 at 12:19:13AM +0100, Frederic Weisbecker wrote: > 5c0930ccaad5 ("hrtimers: Push pending hrtimers away from outgoing CPU earlier") > has introduced an issue with RCU. This is a proposal to solve the > situation after realizing that fixing that on the timers side wouldn't > be pretty to say the least. > > Oh and the last patch is absolutely irrelevant to the issue... I pulled all three in and started testing. That last one will need some careful review, but you knew that already. ;-) Thanx, Paul > Frederic Weisbecker (3): > hrtimer: Report offline hrtimer enqueue > rcu: Defer RCU kthreads wakeup when CPU is dying > rcu/exp: Remove full barrier upon main thread wakeup > > include/linux/hrtimer.h | 3 ++- > kernel/rcu/tree.c | 34 +++++++++++++++++++++++++++++++++- > kernel/rcu/tree_exp.h | 8 +++----- > kernel/time/hrtimer.c | 3 +++ > 4 files changed, 41 insertions(+), 7 deletions(-) > > -- > 2.42.1 >