Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp56909lqk; Wed, 13 Mar 2024 16:23:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV63TbwDYgqIqYszidwl+flUcRT2vXmTTkmAVevwBHbK6oSbv6zqhvgcRlMTpvCO4Y0ZOq/t7KVaBaAY21SguN8wdmg4+Grr1elN1kDUw== X-Google-Smtp-Source: AGHT+IH/fweUJ/II4F42bgBPfvB0pFHkbho3kq00n8Ezl8IgqS+sKMgcv0xN2k+ohRMuwHKPnehL X-Received: by 2002:a05:6a20:3d28:b0:1a1:4842:6760 with SMTP id y40-20020a056a203d2800b001a148426760mr458472pzi.50.1710372210083; Wed, 13 Mar 2024 16:23:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710372210; cv=pass; d=google.com; s=arc-20160816; b=ikBQC+m8ACmHp7x6eB5RMAiNZMpZr0gxJQR/DE352XSa6x3oGtuGeNRdWd5osqAuGG gmWnRt5UKI8uvsecD0iyKYypj8zoqVZHb/zZM6xbC7bMaPIkzTyEqdr1Hw+e/Y5Jm7zF gjjnHK1iSAkQbfPfpG1B9f47ht+o/8F4dk5ETej4sPZznC6FDSY2xxiBOUVEIWOyK8fu 5QMydmdajrs1s+iNbMygFBXi3sX9iomGcmmZLkhYqRH893Ca20Q45AY0nHB7PnNtab3l Cgo6QQzwzXQbD+ff+2kY7X8i6BLMqFzq47wqCN9Fq/G+uELxagqDKUbOjutCyJi/xWKu cd/Q== ARC-Message-Signature: i=2; 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:message-id:subject:cc :to:from:date:dkim-signature; bh=fxk1108PeCQX28AxaCyOGdwiZBxZBjip1A0EV7ScBFY=; fh=IzALLydII7kEyJ/7AvqC1Vb6qPSHQhhuuo+lNL0h/iY=; b=fRHMojY0Nhyc7VynxR8JlhIcEBV7UMyeoXwjkoejFTFIrUeQbDS5Jz6ONpdtRpIe+z K5jZrlRZOn73CXdMrdH2D7JmYjhQdwa5unYRm/6A8IcWU6GrqjuZKt+xMPqNFaCBlgRI mtBBXbeGTcIJXeT8xTsyLPSmRTu7D6rFbvm5nTXFsf9xO63TpnKNYRCTd63mBJh26Oqu rMUlRjRv44qupGYkAaQ2jokOzG0IS02q5Q2EC8G9/3TnYEu3EbUdK+zeyHbAB18N4KMK a3IzpydDQJqHFolTswJBuveqIXX32OHADw+Hbv6pIDdUl6iYVxtbc5aY7N0o8bsH3qOF cUng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qot+M2LI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i24-20020a17090ad35800b0029c5fbb256asi2149832pjx.83.2024.03.13.16.23.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 16:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qot+M2LI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102635-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6F877B235DB for ; Wed, 13 Mar 2024 23:22:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 692E65D731; Wed, 13 Mar 2024 23:22:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qot+M2LI" 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 8593E41C6A; Wed, 13 Mar 2024 23:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710372155; cv=none; b=q6tCPlVFrl56Po134M0NJ3Or9XiM/QdmPCxqwVtP1JiJjSEQFyv2jR9wGX5DJphwNPNBEhCL7puGKgvjWRL5yMdZ+IA9RXmIxgF7Mm0l0fjHFF4Y5Uv62azoARWoPNdiaUiYCl46htXIwhL4ANnJnrFEFZ5C7v6Zc4jULYJnf1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710372155; c=relaxed/simple; bh=fxk1108PeCQX28AxaCyOGdwiZBxZBjip1A0EV7ScBFY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ClMrYt+JtYmwuXzXVCC74ouizuA73l9NcF4R+azji3l9/IL8LGo1fXs4xVK5jWtP6rlwKyPEh2hKLiQVv2Mm2h6dqG+xSHoDLz+HMwVTfd3fB3InpA2Gd70VqyRHhmtRsj8AADxaiXnpnqzWMn4BkSUsuMCsYi4GfQ2ObHoKA3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qot+M2LI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A7B7C433C7; Wed, 13 Mar 2024 23:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710372155; bh=fxk1108PeCQX28AxaCyOGdwiZBxZBjip1A0EV7ScBFY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qot+M2LI/PDeEfLHvdURsiJyIcCRztnqFapvO3l43uEgLjBYR02ymI5jCSlmgQU8Z gAhmZZCzm98uiwg3TXbVfGaWl7jMKCfDZ9EM3rJg1nEgv3fEnlQ0eXzsrVI2uNUsHr su8hgTKc9Pg369wTeo3kFKCbTXoocjHEM6OzYyCRzFKCyZGXvPVBHddJIRraA75DAK DrfoyNnmsozRtOpgE3IumEpUxYOOqiLxijbnKSE/t0L2vz+m3X4/DvFJ/LIEQYmxZj 3G+9XkdoRoMcVD8r84burh1tOHRU7EAq+QVy53qSqY/1//Smq4VCHliW94c7hrNFv9 rDqqhuc1wV5mA== Date: Thu, 14 Mar 2024 00:22:32 +0100 From: Frederic Weisbecker To: Neeraj Upadhyay Cc: paulmck@kernel.org, joel@joelfernandes.org, josh@joshtriplett.org, boqun.feng@gmail.com, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, qiang.zhang1211@gmail.com, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, neeraj.upadhyay@kernel.org Subject: Re: [PATCH] rcu: Reduce synchronize_rcu() delays when all wait heads are in use Message-ID: References: <20240313083228.233247-1-Neeraj.Upadhyay@amd.com> <35e009c4-d52c-4b96-ba10-afa0be9dfd5e@amd.com> <33ff03f7-0301-42fb-842f-17f21426cdc7@amd.com> <3f544c35-365c-4782-8dd6-f523b257f867@amd.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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 13, 2024 at 11:19:08PM +0530, Neeraj Upadhyay wrote: > Missed one point. We will continue initiating new GP until first node cb > is processed, which can happen when a wait head becomes available. Ah yes, I missed that indeed. Ok that seem to make sense.