Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1200327rdb; Tue, 30 Jan 2024 10:43:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFqhaZwIIhZPbk2YfBRSpfCHUaJ8Fyyy30QU3MpV/5Brr0IC0i190MXejN0whw5ERfXipo X-Received: by 2002:a17:906:b846:b0:a36:4cb1:da77 with SMTP id ga6-20020a170906b84600b00a364cb1da77mr829590ejb.4.1706640209537; Tue, 30 Jan 2024 10:43:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706640209; cv=pass; d=google.com; s=arc-20160816; b=CI8ur3FUTF1QiMaP4txEwwzx7psFSFyVFFbYFix4v9qmjmsvAfUZm40R9A/6jzMuwM Ce4e+0iz2g+yD+V81cO/t7jgfasEHZ6ol0fHVHvwrOuD5UzFBbeFbAoFWpZ756eHeOOE bXaqJeXYHZIUQX12mCuKoi8pqmUoEnmA0lfJOGgub778SmTmOIx/rFsUVlf4ZdHR41pZ YKYGDpnAef962ieNwUHHhggQjfKPcweb1gd/9WrzqeWbOCRV+6o+gc8u8ylQEU4R6Pz5 08FGOt9vN5+WJQcdCgeiV6voSfedsmsu96SlWuhFkO77OC2foXZRxTEW93eMQgmZej8f g5xA== ARC-Message-Signature: i=2; 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:message-id:subject:cc:to:from:date:feedback-id :dkim-signature; bh=Iemjl7GM0JK88Oll/0/tLzsl8zt7JP8BV/mn7VXCSjw=; fh=3ZMSBDt69siQnhl/ks6HiAG5Ww73oR5bZQvrek4cokM=; b=JKp094eCbl9YqvQxPIAmxq2PjS2PvkW8HgYXu4A+9YY3cbngW8U41tFtTuuUhBBhfI b+eTh6oOvauTxuPJi8beEZV4J0Tg2Y6SdxgTsJ1/2Fiy9xMySBafONfMXgEMKEk+MyFv DPCnnauTUOsmdnj2jSVnWmLIZuCRDlM1qqgxP+qzt8NEZHJJ/OkWNFXs5boyAw4nouU2 a2nv+4NxqydgsQufqhI/eqy593uztGPNNd/Q7mtnRQicBbj72/nrf58WUpmeLchplG0P nNJoCzZ0E9h4fj+3a7FRvyaFNpaqAW0gUEZKW5vinoabFB2wzbMgmOEbi1ADXDKzF4Mn KB3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UZnUm+cx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-45128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o5-20020a17090608c500b00a35a2568265si2511557eje.931.2024.01.30.10.43.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:43:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45128-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=@gmail.com header.s=20230601 header.b=UZnUm+cx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-45128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 27F131F217D5 for ; Tue, 30 Jan 2024 18:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 172D478B69; Tue, 30 Jan 2024 18:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UZnUm+cx" Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D366378B5A; Tue, 30 Jan 2024 18:43:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706640201; cv=none; b=d8evCdu0U/6Aytw7Q569TsrXvSXfE223Y3bn+mxlLpo2hNTCwMAiTqUCZV28yvyPj6TU0NAtJSb/ojQEDpzE/znDzEefhbAZCidjtVl3vBnjzAjokzs7SuIK+w3byeJvGjbnBsK/iI8Sv2Cr4zEAfJJOxJAwLd2EUs9yxaCdAj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706640201; c=relaxed/simple; bh=LqSvJ7UGpq6hU47XuSN0B7qu7zyfXZR+0CJXRnVzil0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m8a3KfC1BeLL/BWi9J9/F8/0RCsWJXNqE2qCZAIm340LH/Stfa7ux7FyIdc5uA8AA/A2Pz5ybpc38A1AnYWQqkFFhvx097jMTN9jGDuVZB1vaCjWgN/GZdEZEYaZyecyby/gtDiKaGtei1q+3y8kQ+Yt9MPYZGMpwQAli9V6m4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UZnUm+cx; arc=none smtp.client-ip=209.85.166.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f179.google.com with SMTP id e9e14a558f8ab-3637e03eeccso7644935ab.1; Tue, 30 Jan 2024 10:43:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706640199; x=1707244999; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :feedback-id:from:to:cc:subject:date:message-id:reply-to; bh=Iemjl7GM0JK88Oll/0/tLzsl8zt7JP8BV/mn7VXCSjw=; b=UZnUm+cxGmKVnkezkVSsa6tfX1QEV4FTAbYE02RH2x9g9jE4m1eMpTEd72W/EqdC4x JGPztL11Qxpp7p4WA2KsbxdEFQC15giY382prAJvTw1Uwv+qi45MH2h8UdGC4Dzfly3b zX73GU+DH8FLHiZZ48LCQSOBZDrFfS7azsfXxYTZbGfWyGuCsEUqB17GIuO78bJK0NIT pTaBNirsLA5UaRfbwl7kz6KBikd5j9+E2LTvnWJttaEm2hM80Ls986GwJU/E4s09IRMc X4rmw47faOmuZSTY/NAsRyFOK1zOw4BYM2f7NKJwbijpwpWMIy8gi3SJrwaGN1rrx29P Fj0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706640199; x=1707244999; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :feedback-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Iemjl7GM0JK88Oll/0/tLzsl8zt7JP8BV/mn7VXCSjw=; b=nzTwv8BAcKxt1ZKPFecprk4EFi9l2fWJJKz38g5GaVUzFMxiYHKIm0M5qhtMzXv0Lv 98c/dnCItk2mTbRqi207RUGNzZ2xEywdcNIJ5rO/QPrW5DbUtuU1y3qusiPwV5n4B3Wf FuuiQbnh8qXAe9Fo+VDg2wOGXMKZFbvtx5qP/Yh8/H52raXaLAbn7zLRsE1C/bJJVbph /6WZ04BElUkf1fxXB2FkyllvRNBrvcwGc3tLnzWzG2UzKaMTkJpB3e/y8ECrYEEDbwqt i4Y6MXYfrOudK326Th09nQ7B/jJ8qnH2Asc3UU+a3AZUW0C8UtZdbqMcEODJkQIeCUz9 neeA== X-Gm-Message-State: AOJu0Yws/NvQcrJE+kBUtSgpCJ549f7uAcG54SB4tSy1yWvlkLiC4noY ER0ZaBb9/HyWLvysB3Y2chSpyxCURYK75mzLUNi/s/U/OiJy8R8SwzLKGwNK X-Received: by 2002:a92:d284:0:b0:363:7eee:6e51 with SMTP id p4-20020a92d284000000b003637eee6e51mr6482075ilp.15.1706640198862; Tue, 30 Jan 2024 10:43:18 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWiAb3TDUmue3nbcv7qMZPKQCTiNMQXkwgiBjTa9bXNZk68FGlbfPNJtVk69b9A56eCNe7b7FETkopC4hxPTn0v5uChLVUg2ctW+khCdZpp/aAT4RyG9Qj+ttTM9pj8wvNzSKU8X3Q2YrFFJPL93BXRh37Vn1ja3tjm3P+dkUX5IdS6/kZe0FHStJUTVzK1mZamh7GD1aWlB22kp8VuAcKqaDAu6YroX9lB0XqlZcIhHkVtfYh2PPihXzqptTnduhUrnMY5Y9/igRKPsUVjuwtMvWU1vf3u/4vg0EHKFunuQ9Nex9ypvSkxoF+vV4bXq1DS0z/0khMq484yBKlbUSRoCDZMXTpA43DhkCSBP0MmQ9QNRFCpFkSWFQ== Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id x13-20020a02970d000000b00470e96d4263sm98098jai.2.2024.01.30.10.43.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:43:18 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailauth.nyi.internal (Postfix) with ESMTP id 4DC5B27C0064; Tue, 30 Jan 2024 13:43:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 30 Jan 2024 13:43:17 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtjedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttddunecuhfhrohhmpeeuohhq uhhnucfhvghnghcuoegsohhquhhnrdhfvghnghesghhmrghilhdrtghomheqnecuggftrf grthhtvghrnheptdegheelveffudejffegvdelgffhhfelkeeiieefgeevteejvdegveeu ffeihefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epsghoqhhunhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieelvdeghedt ieegqddujeejkeehheehvddqsghoqhhunhdrfhgvnhhgpeepghhmrghilhdrtghomhesfh higihmvgdrnhgrmhgv X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Jan 2024 13:43:16 -0500 (EST) Date: Tue, 30 Jan 2024 10:42:16 -0800 From: Boqun Feng To: Frederic Weisbecker Cc: linux-kernel@vger.kernel.org, rcu@vger.kernel.org, "Paul E . McKenney" , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang Subject: Re: [PATCH 1/8] rcu/exp: Remove full barrier upon main thread wakeup Message-ID: References: <20240129232349.3170819-1-boqun.feng@gmail.com> <20240129232349.3170819-2-boqun.feng@gmail.com> 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 Tue, Jan 30, 2024 at 04:48:41PM +0100, Frederic Weisbecker wrote: > Le Tue, Jan 30, 2024 at 04:47:16PM +0100, Frederic Weisbecker a ?crit : > > Le Mon, Jan 29, 2024 at 03:23:39PM -0800, Boqun Feng a ?crit : > > > From: Frederic Weisbecker > > > > > > When an expedited grace period is ending, care must be taken so that all > > > the quiescent states propagated up to the root are correctly ordered > > > against the wake up of the main expedited grace period workqueue. > > > > > > This ordering is already carried through the root rnp locking augmented > > > by an smp_mb__after_unlock_lock() barrier. > > > > > > Therefore the explicit smp_mb() placed before the wake up is not needed > > > and can be removed. > > > > > > Signed-off-by: Frederic Weisbecker > > > Signed-off-by: Paul E. McKenney > > > > [Offlist] > > And yes that was not offlist, my fingers betrayed me! > Thanks for the reminder anyway ;-) Regards, Boqun > > > > For further posting, don't forget to add your own SoB while posting patches :-) > > > > Thanks! > >