Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4807375rdb; Tue, 12 Dec 2023 09:48:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8pq6mgTmv4dl5qsR/XTYdt2PtEsK02rKDFHrZ5EMF99+/9KVYFcjbh3Qvrrnsh3mvk1mV X-Received: by 2002:a05:6a20:918d:b0:190:46c8:a3dc with SMTP id v13-20020a056a20918d00b0019046c8a3dcmr3466551pzd.5.1702403289183; Tue, 12 Dec 2023 09:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702403289; cv=none; d=google.com; s=arc-20160816; b=uoDc8ypHHrNnCpQCZx1S2iEBRfxH8KRBv9leP/AqFMCOdtAW8NV1fqGsK1EB8D5ICx H63Jf+c+7nZhbbIfMMWXfVIt5Fb+ZzdX8kPQM/IdUfQ7pHKpt14DPIa5/WbjciuF/BH2 ma9MS5n1QVPtz3dqtVqNhlSVGgDDreZ0NOTuo/bc+tCuFVl3I9QWZdunTL0NXdvSmH0d s1+C89lfFfeb9bYypApkauUUqlT8X4G1tKsAllw4cjMkbpy92bljq0kbEIMspn1BHeSH bzmGsSFUECtA4InrfAR6veyNHcUjxe5sjULrmMvHdzv3WEmvC6fP6GRTBlY8SJwBJ22Z RSaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=Lpcp9URoW3Nxmv8uilTZFjiHClsiXT96h5WC+LC09D8=; fh=6P61KnxuNrg1PE5+W9W29RqDat3I9zBiDl02bjzFOKw=; b=LPeYqEtCjZxo7xUpiBBgH1w5mDXP2xTt+dulp4xN5Pqq1Xo8w1ke+O+3rvfteOKm2k en46UV0BgVBT/SqD/tljGnKcRIAPOJlexXQwbkd61/INO5CZCUTljvpr2je+nux2I+5E H+fnPPBTL36zeSrM1HBU7FSymUoTBtfM/vLGcfmdsA3fICBAaM/a6Tlska3QuYbEKnQR DAc3XAQbY7FbnASQEhdBezr0ZTzdhx0n/qg9FK3XmBDHs5SeML10RoPrMaL3s+g32kbv /Obx8R4xNDMw4MtJ+06C6DlG2D6v2IiNsufsJUU0YAwBsjRSm6mjxPODwxz6xC9m4DoU d/5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AHwIyp6e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u10-20020a056a00124a00b006ce0cc37e50si8193855pfi.335.2023.12.12.09.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:48:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AHwIyp6e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 85E3C8041381; Tue, 12 Dec 2023 09:48:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbjLLRrx (ORCPT + 99 others); Tue, 12 Dec 2023 12:47:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233101AbjLLRru (ORCPT ); Tue, 12 Dec 2023 12:47:50 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EB4294; Tue, 12 Dec 2023 09:47:57 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-28ac11407cfso372931a91.1; Tue, 12 Dec 2023 09:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702403275; x=1703008075; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Lpcp9URoW3Nxmv8uilTZFjiHClsiXT96h5WC+LC09D8=; b=AHwIyp6eWN96NQkVsP6j8AG/o4omFQPKqdlgqa1uYkstJ2gGyFZ7wNtlqNI3KzFo3h uEhCgL9TYTWRkfl58aGTFsUW6AqwnOqRzd7BE+fawko9iTzkznh5nxYMRCOZEvI9wjrI yQNhgUXEfm3fKhQr/00l5pSrGHx+UQVnCI5YPj/zvqXe7Y+CyqPejpptKtkR6rp+M7sM IoefbgaA7tAXxU6uPiXhenXDS7gQuRpWf4WizDJOSZ1Drrsu1CJ4tH7lrqFB0QjbhQ1R gPoywW0IiGGIb1YoLUauh+fnRg80Z7Jc1iXEJZlfYQrtNqhNDMPCQPspMCAWCCQE4igZ 6e3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702403275; x=1703008075; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Lpcp9URoW3Nxmv8uilTZFjiHClsiXT96h5WC+LC09D8=; b=dUvF/Bhu+SUzozID78n+fct8PapeoXQpfoj2F3vtMVmIchthE35YFMJlpwQ0fqUVff JfktiPJ2MbTQrjf5WMBWMnES0/4F2La1QGVcUXqK3zzLzwo9ZxpRdUl27Y7V4BeNbE5P nY0m9ndPtP2rwMqFvV5jI0Lu4lF6K8/+VGjWLam3qgFL2CZzcQokSDIzK8IT/m7277BA jdZN0+mS8rgxyiG0/e1d2J/0lqLnt1YXU1WL7lT960h+E32oc82zre6LZjREI57q9I6y lq6y0a3s1jfTEqdeoB6LfbV05SyVXAMEgeL8JrV1dmZGghPGymkLNEHY92WLTov3DxDE YVkA== X-Gm-Message-State: AOJu0YydioepTpCQLI7XFxBSnABaHxWxs3djhiC9QSSXt46nO0A2g56N ywXS7eVnLgfQGTiBoaqWDzukmvmna9StqdZb X-Received: by 2002:a17:90b:203:b0:288:898d:70c2 with SMTP id fy3-20020a17090b020300b00288898d70c2mr2894098pjb.4.1702403275546; Tue, 12 Dec 2023 09:47:55 -0800 (PST) Received: from neeraj.linux ([101.0.63.152]) by smtp.gmail.com with ESMTPSA id nl13-20020a17090b384d00b0028adcc0f2c4sm64200pjb.18.2023.12.12.09.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:47:55 -0800 (PST) Date: Tue, 12 Dec 2023 23:17:50 +0530 From: "Neeraj Upadhyay (AMD)" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, paulmck@kernel.org, Neeraj.Upadhyay@amd.com Subject: [PATCH rcu 0/3] SRCU updates for v6.8 Message-ID: <20231212174750.GA11886@neeraj.linux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:48:06 -0800 (PST) Hello, This series contains SRCU updates: 1. Remove superfluous callbacks advancing from srcu_gp_start(), courtesy of Frederic Weisbecker. 2. No need to advance/accelerate if no callback enqueued, courtesy of Frederic Weisbecker. 3. Explain why callbacks invocations can't run concurrently, courtesy of Frederic Weisbecker. Thanks Neeraj ------------------------------------------------------------------------ b/kernel/rcu/srcutree.c | 10 ---------- kernel/rcu/srcutree.c | 14 +++++++++++--- 2 files changed, 11 insertions(+), 13 deletions(-)