Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp84215lqc; Thu, 7 Mar 2024 10:58:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXWM+0KXDSD9dYPqIDmqgFJciiS/LqttRmFW8aTC1pi9hi5erOnXM4aLZi49dSvQodeRXICd4BzmLpT5tynlYIvzW6GWnomRsUFT5XAXQ== X-Google-Smtp-Source: AGHT+IHNtF63dd4XdqbuzgwfvHVtPHW9kbEqFB+W8Q99rfA291hQUTwPlWxJiDlwUOipkZci9tZJ X-Received: by 2002:a05:6402:2157:b0:566:6c6e:385c with SMTP id bq23-20020a056402215700b005666c6e385cmr376594edb.34.1709837930654; Thu, 07 Mar 2024 10:58:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709837930; cv=pass; d=google.com; s=arc-20160816; b=LPA9v+PVk3oUMr2tQqoCF+mr9qwksKXcS3AoKBDiobeoVPAN2+oNNJ1seldQ7wt6eX efcF9kLYfAS/zuVRTuOOqmg825bas5z+lj0Hl2F898daqlBowQTa7tAlETADQJKLaDau tFtW3H6kcSZ2poZAvVpJJIXMLXNyyDlyddE6IweVQzJPsgzdNA1FAdew+N/c1fJYdtex ADMyKovQpyyrjEbTlPgAmoBCC2MI/epb+22x1buo8xkWq++brWa087P5R80jxVC9b8VA 5LEaSFneFPCqiKIS1kUbUhTYLXRBWlCPvEWzpvUPGLc3moLdWhv2XsHavASUzx1aCH9r I28g== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=v0eFOBEEu2hrE8H0GfVkiH7DjlMPl0X/gDr1imdM32k=; fh=EgqIUx1uoV+pabPcKHhJcZBbl/mOO4AdC6m/LLryYPw=; b=lh8i8bYfEu9JdBRsVz5EWfVGemuZoJgtQFeAHHXOQWnOkV0EvGlXYqXKdfK9XROnMp REMTciqj6Dxe6t+o3PsqodxesjKDJCH1SLVJ95LDMJngYyDJ0gDFJMUz/EiANXiRXR6k 431zxOpEmxSmwtj+TPNXmIFIRnM+bSx+R3pbW7whLr8AonF1Emex7Hb8ilsuGasYfwDz LKCHzmICtuU5BxcH3+d9z/hSqZApxcILLRy31/KeiWxjptekkI04DmtKP0BybqkPNvsM FWhyyaUtn7Ff7A5YghEnkUwXYzGXj2Ph5u6gQhRocTDyM6yhIUuoeNAt7Pb6H14XlDsI WeCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T4IgkS67; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96045-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i5-20020a05640242c500b005655ce1074esi7332142edc.159.2024.03.07.10.58.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 10:58:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T4IgkS67; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96045-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 2931F1F21513 for ; Thu, 7 Mar 2024 18:58:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21CA2135A75; Thu, 7 Mar 2024 18:58:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T4IgkS67" 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 442FE12FB12; Thu, 7 Mar 2024 18:58:40 +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=1709837921; cv=none; b=jOmjcYSe6ff0K9tqJXSynWY8Cq+bdBaoX8OTujW1yoDoYcrrw4fADeMIOsWQxvAK6U6rVobfLzq3rIhRtpDEdtJhOPo0vGHcTq2QmHZx1d9/bMvUDOmHtiVaVcJ0OekCIC8y9LXCzrfdT1JwqS5M+C09UbtXDPnbVjfDvxkCpZM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709837921; c=relaxed/simple; bh=XrTXKV4fLLNZYeQ7K7P7tCKsNgQbgRtB2hmD8awyd7s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EbK8xj0Lb1w/ekv8yPRF7Jrc4A1MoDBaTehgQRf6I9iwquc+d9XLztCD/LlYJqa9oJSjkED2PWylJn7Fv1CzutyKt7lTgEI7Wmj1iLnFloDOJcBt/1cLRR951QkXZU6jrnZCgEQrK9FImOhYkm0ElMdjKkhFUV6gSrHVWuHVV7A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T4IgkS67; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7792C433F1; Thu, 7 Mar 2024 18:58:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709837920; bh=XrTXKV4fLLNZYeQ7K7P7tCKsNgQbgRtB2hmD8awyd7s=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=T4IgkS67qBXEryQUh1eyup04KKujuTcp1GpBVVC8GTfw7LhnS5cRcPmPxqiYX341X 5QFzU5lVrQ12kfVjLceTo3j8L6pU1zxiiPM8ac8By9WBUnXdHr2MpO/YPOgfmLW3Cg ySkH7HplOBQpDXuSLQIgHouMTqeZ75dIiRrQ/U8AyBMQwSgq+0+ZNWNCq1UOpTSv4z pgh8FfKFzUQkrpM0mR58q4YLajIQA/XLGBeHqyV5n+zpgKQp/1o5jRYHPnc/GFvo/I cdvMvgqqMb8mPX1Q0pHfQ/RaDywZ3kQN3a4Q5iLAWl7XgBdj/u0ajJkvksWhg/rFT/ X0KQ1Dfs8MAlQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 5C49ACE0716; Thu, 7 Mar 2024 10:58:40 -0800 (PST) Date: Thu, 7 Mar 2024 10:58:40 -0800 From: "Paul E. McKenney" To: Steven Rostedt Cc: Mark Rutland , Joel Fernandes , Network Development , LKML , rcu@vger.kernel.org, kernel-team Subject: Re: [PATCH] net: raise RCU qs after each threaded NAPI poll Message-ID: <1165c893-b812-4f88-a1d6-fff85592657e@paulmck-laptop> Reply-To: paulmck@kernel.org References: <55900c6a-f181-4c5c-8de2-bca640c4af3e@paulmck-laptop> <10FC3F5F-AA33-4F81-9EB6-87EB2D41F3EE@joelfernandes.org> <99b2ccae-07f6-4350-9c55-25ec7ae065c0@paulmck-laptop> <20240307135215.7ba88d83@gandalf.local.home> 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: <20240307135215.7ba88d83@gandalf.local.home> On Thu, Mar 07, 2024 at 01:52:15PM -0500, Steven Rostedt wrote: > On Thu, 7 Mar 2024 16:57:33 +0000 > Mark Rutland wrote: > > > * Use rcu_tasks_trace to synchronize updates? > > Yes. I think I wanted both. The above to make sure it covers all cases > where something could be preempted, and a case for those covered when RCU > isn't watching (which always has preemption disabled). > > My mistake was I thought synchronize_rcu_tasks_rude() did both. But I just > found out recently that it is not a superset of synchronize_rcu_tasks(). > > But it really needs it in every location that synchronize_rcu_tasks_rude() > is called. Should any RCU Tasks Rude grace-period request also wait for an RCU Tasks grace period? I would feel better about proposing this, especially for call_rcu_tasks_rude(), if RCU Tasks Rude was not supposed to be going away after all the noinstr tags are in place. Thanx, Paul