From patchwork Sat Sep 17 16:41:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 12979199 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CBBDECAAA1 for ; Sat, 17 Sep 2022 16:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbiIQQmg (ORCPT ); Sat, 17 Sep 2022 12:42:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiIQQmf (ORCPT ); Sat, 17 Sep 2022 12:42:35 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D9172DAB8 for ; Sat, 17 Sep 2022 09:42:33 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id o13so18925437qvw.12 for ; Sat, 17 Sep 2022 09:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=djHngNemHi3eZpfRKmBBroxPgd9zL0hx+UyXGlRbBPY=; b=tM/vT2smjuv+K6a7RszMHlsIt2sTsMv+X6bVV7YqUcB2ch34LJ/F8YtsOIgNwSJ67b oWffBHlgLLaDv/5aI5RXzSHFvqt4ndmNVUJTHMPL8hE6i+b4l0nsMUERHUdVatzJSu9c 2zHPllDXV63MTFTHvPdresmc/xZe3jODMx25U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=djHngNemHi3eZpfRKmBBroxPgd9zL0hx+UyXGlRbBPY=; b=lfJ0d5nrYttaXdGO9BJxSbohnq0vlGzT5L0ZrM6nxS9aexVwHWWvIhalxR2v7OpsRR daJpLtqJ8Lrbr7uoGK6aCoaQituthl+1OnaTcPsBrUy1/i8QVqyc5mF9wGPaUvzHmt4t cws9dTLZVF1ht4pQJXjYeUwmRhU2sdG1syJnHTiZerOEZIRIK+ZF9ya9o3EegOo6flb0 rCSziUBVD50qtMBoWE4V48gHvsD0wTMtvVWsMBntPhob4a8dB3e6W3YDPneKOm8sUPo/ yq0xFYGLuDhzoVonzCn87Z8yQAcholGVeddfmoiaUmCCYTrcVhUkOoMdP5ViwYayyATr BfuQ== X-Gm-Message-State: ACrzQf0B6u49igG/p3x2a4os26caNkYn/GZEOiain8B6IYEdriv1DZO+ dkVjauXUbwIsj7I+S2zT7RawHRGtOYctww== X-Google-Smtp-Source: AMsMyM48LNU+nDO9OS2sTlYYOlcMNBhQLnc/NBRvCQ2zYhK6WU9+dsqh1fAuPk5Y8f32doofRZY2XQ== X-Received: by 2002:a05:6214:27ca:b0:4a9:d3f8:9cfb with SMTP id ge10-20020a05621427ca00b004a9d3f89cfbmr8316860qvb.56.1663432951722; Sat, 17 Sep 2022 09:42:31 -0700 (PDT) Received: from joelboxx.c.googlers.com.com (228.221.150.34.bc.googleusercontent.com. [34.150.221.228]) by smtp.gmail.com with ESMTPSA id q31-20020a05620a2a5f00b006bb0e5ca4bbsm9479239qkp.85.2022.09.17.09.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 09:42:31 -0700 (PDT) From: "Joel Fernandes (Google)" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, rushikesh.s.kadam@intel.com, urezki@gmail.com, neeraj.iitr10@gmail.com, frederic@kernel.org, paulmck@kernel.org, rostedt@goodmis.org, "Joel Fernandes (Google)" Subject: [PATCH rcu/next 0/3] Preparatory patches borrowed from lazy rcu v5 Date: Sat, 17 Sep 2022 16:41:57 +0000 Message-Id: <20220917164200.511783-1-joel@joelfernandes.org> X-Mailer: git-send-email 2.37.3.968.ga6b4b080e4-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Hello, Just sending a few patches before lazy rcu v6 can come out. That can come out after more testing to check feasibility of ideas discussed at LPC. I will try to get rcutop pushed as well before that, but in the meanwhile I don't see much reason to block these few patches for 6.1. These apply to Paul's rcu/next branch. What do you think? For Resend: - Added Reviewed-by tags from Frederic on 1/3 and 3/3. For 2/3, I implemented changes after last discussion. - Better commit messages. Joel Fernandes (Google) (3): rcu/tree: Use READ_ONCE() for lockless read of rnp->qsmask rcu: Fix late wakeup when flush of bypass cblist happens (v6) rcu: Call trace_rcu_callback() also for bypass queuing (v2) kernel/rcu/tree.c | 32 +++++++++++++++++++++++--------- kernel/rcu/tree_nocb.h | 10 ++++++++-- 2 files changed, 31 insertions(+), 11 deletions(-) --- 2.37.3.968.ga6b4b080e4-goog