Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp398413lqh; Tue, 7 May 2024 02:36:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVJcC7c6Eio0s66GK3TInCRTyna+/1p/+0cNMIe0FkvylKH+QZ0YgwhCJjbB6fBP0ulFfTNXPRGRMTeHB83dXU3Sa9s4GyzGhdV8D2Ew== X-Google-Smtp-Source: AGHT+IFhUrHEowpc/XIonf5AtcUSEK3KxIDXLpLABbW3zFVaQI3kTlPEmdMgWUdGmGbvCtRs6pHt X-Received: by 2002:ac2:46e3:0:b0:51d:2459:bdbb with SMTP id q3-20020ac246e3000000b0051d2459bdbbmr6160974lfo.12.1715074570227; Tue, 07 May 2024 02:36:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715074570; cv=pass; d=google.com; s=arc-20160816; b=RzcWBamGvc0xAUFqhJB5DupX7gb2NFY6pck7ZgfqO3Ffqx41NL9tpkiVQ5K//scnVF y9BGEP2kRrQ3FNWiyu5R/mPk2XG8+7EWXiir0migx1f5OUeVOykB+Y2+dhRj8E6ZbkIg MQ/Uh3e9I5iZP6ba/g/hzuj/qX2lkf1fuPAWcvwwB8ahrta3DpEXcn+DC3KeLNExOYvC +DmiWC7UZNlE74SEFSdd50WTTyj2SDbaeqUzdbP7j3GM0TaCjee3VZNEobCDR+FzFR44 cqvr4SzkMkn0hqlwi5qnLbos0LmbDJYvRCm5Ovl5lkCoZw0ldQXB+hhcahYDEmLOTnOc T3Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=xJMH87hi18YxOnKpA39ix1VWQw+7nmb6iEumWZVhVHM=; fh=xeEKs5Dz/n/glJBz/cdnZ6PPUv3H7fR85lYKkP383Go=; b=HR4LZF5Ny6zvL/xtePMe4RLKwftqoYCCYFErSRXu7pnL6UmZs13Hek9S6lvd+mjWDQ EKrEw9yOc7rZRuTBb+RkKjibHEWtiErIyzaXbZE534XaiBzIVYAl5QkEelXwCJ8KMq8y Xc0ScNZVX0QvG4rsp3QMCI7F0mqL6djjxCqnKI5o+B7hgHFMO1yVyl+th5TU5dUdPY2b A9CS5pHaKO6QjMmQQHc7ATDhavkhJ8ATzvu3nDWA1NpmUYtKjbbKrcK6shuovEEt1iOB 4CBUpscZLth7IG0UHcwU8u5InKinBoo62SFist750R0Ak0llZyCVeEt6pD2Py1l0BT0/ lfXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CcE7poQi; 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-170959-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170959-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id mp11-20020a1709071b0b00b00a58de5edca7si5896715ejc.21.2024.05.07.02.36.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:36:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170959-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=@gmail.com header.s=20230601 header.b=CcE7poQi; 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-170959-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170959-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 ABEA71F25C6F for ; Tue, 7 May 2024 09:36:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5BF614EC68; Tue, 7 May 2024 09:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CcE7poQi" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 BCAAE14E2CF; Tue, 7 May 2024 09:35:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074537; cv=none; b=ULxQtK3w7te4bYovzE8oqw8CSEZaSd38HS8CjpO6hS0537y78qSKCG5hWqkF2E1yCg8JPuad8MKYqZrPN7UpqnrLP3mM9LnZZFCNaXaX5mCAfcSePv2/VCMNL7Jb6dDPwuOCrJcYuiJQlWF4FKfifc7aW99HpaCsoJxxaKhOKNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074537; c=relaxed/simple; bh=ZjgneQmG6RZ/+v/Fm1HO5eBNI8xfD2wpgYqZqDZN69k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=XWEaLTZxNIM5l/KPLww3WgDdVQZs3Tjb+qM1Qa4s7wtQl4iCBwrBf3NgEq4ajhO6P7J6rfkeZ8Hu6MMx5xd1ApsjvdGk9t9bm+s16JG8VbgInrsmi7xfkKypB7z7M4JEECMWdi+CYif53eekUhF5PE3poo5SKhEx1ETaeDW+548= 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=CcE7poQi; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2e2c70f0c97so36444291fa.0; Tue, 07 May 2024 02:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715074534; x=1715679334; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xJMH87hi18YxOnKpA39ix1VWQw+7nmb6iEumWZVhVHM=; b=CcE7poQiIgbMRJzMWr+bXV2V8Gtzn0YYAY9o+ObRtpqaJ+fL0yyjlJt1CDPfchM75C JmWOHYXlZfLilvswHPzlXsvfRrWfE9ULVw/B6ZMzC8eVl542Mbw3SEFOC4TauvyCm+NB KBwSsqogJyCHHCnB3hYn/FHlv3fDxX4CnyM5HcXpSzprfy1K7zeYD4ukW4+4TxAy1/sd zVNX31NVeOP99ZR65XOohpVXTP9McUvmitdCEcVSNB91FObxQkNGLdzJluwP10hFHDxf 28aH41Ee1J/m17CfUQTiHQKVIfq6CtwvTyWHEeI5Ruk1TdEOkp1GK0g/IVmfq9aTq/t8 +kMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715074534; x=1715679334; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xJMH87hi18YxOnKpA39ix1VWQw+7nmb6iEumWZVhVHM=; b=T8JDaNHYTDXCIx8lytscRIE14OTCfgncY8NSDdR/Ic2o9VMCK3A/CgPc26N9wfDVCV glxgFBevb0l7X16Au+Ie3UJrtud6R443Hdf7j0RSc8kzjoHiVP34c8NnCr827cXQHft4 ekdoh6jmB8nUMJfrUNX65cf6kQloT8UJ0eFmnjUckIjVgDVX2c3jfh6ex3ZswHGo00ty nP2wW/oD+cX4h/fiYVJvfokCRFia097LPZ/+zQM9O9eV0exs28VdMXXJLEjfuVKFXs0H JokGAvoP6rcFpHRV0uhzMGGLUTBItjbjFmk3VrthR0R/ipBZ47e27hyi9s2JaRy+mFzB iWew== X-Forwarded-Encrypted: i=1; AJvYcCUg0cJ5+yoqOAb6YeZxFPeOlfhQm4Z21pg7eyIco7O8p2691ossWiJ0tBcajrkLAbGqF6Zi3Vvp2Coj/s5KekIy7mJagsosxep//FWa X-Gm-Message-State: AOJu0YxfM8GyMY35NJbGvpVJUqx5+mV7mQs0FX/c6qjzgQnM0h3TpktY VR8mThougorpF4dg2Nnz7/66j/uzuS9rckQBT7i6BX/clPBvP0+a X-Received: by 2002:a05:651c:10a2:b0:2e0:eb96:7b53 with SMTP id k2-20020a05651c10a200b002e0eb967b53mr7731882ljn.44.1715074533549; Tue, 07 May 2024 02:35:33 -0700 (PDT) Received: from pc638.lan (host-185-121-47-193.sydskane.nu. [185.121.47.193]) by smtp.gmail.com with ESMTPSA id t18-20020a2e9d12000000b002e29c50c4dcsm1335473lji.27.2024.05.07.02.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:35:33 -0700 (PDT) From: "Uladzislau Rezki (Sony)" To: "Paul E . McKenney" Cc: RCU , Neeraj upadhyay , Boqun Feng , Hillf Danton , Joel Fernandes , LKML , Uladzislau Rezki , Oleksiy Avramchenko , Frederic Weisbecker Subject: [PATCH 00/48] RCU changes for v6.10 Date: Tue, 7 May 2024 11:34:42 +0200 Message-Id: <20240507093530.3043-1-urezki@gmail.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This is for 6.10 kernel: fixes: Fix a lockdep complain for lazy-preemptible kernel, remove redundant BH disable for TINY_RCU, remove redundant READ_ONCE() in tree.c, fix false positives KCSAN splat and fix buffer overflow in the print_cpu_stall_info(). misc: Misc updates related to bpf, tracing and update the MAINTAINERS file. rcu-sync-normal-improve: An improvement of a normal synchronize_rcu() call in terms of latency. It maintains a separate track for sync. users only. This approach bypasses per-cpu nocb-lists thus sync-users do not depend on nocb-list length and how fast regular callbacks are processed. rcu-tasks: RCU tasks, switch tasks RCU grace periods to sleep at TASK_IDLE priority, fix some comments, add some diagnostic warning to the exit_tasks_rcu_start() and fix a buffer overflow in the show_rcu_tasks_trace_gp_kthread(). rcutorture: Increase memory to guest OS, fix a Tasks Rude RCU testing, some updates for TREE09, dump mode information to debug GP kthread state, remove redundant READ_ONCE(), fix some comments about RCU_TORTURE_PIPE_LEN and pipe_count, remove some redundant pointer initialization, fix a hung splat task by when the rcutorture tests start to exit, fix invalid context warning, add '--do-kvfree' parameter to torture test and use slow register unregister callbacks only for rcutype test. Johannes Berg (1): rcu: Mollify sparse with RCU guard Neeraj Upadhyay (1): MAINTAINERS: Update Neeraj's email address Nikita Kiryushin (2): rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow rcu: Fix buffer overflow in print_cpu_stall_info() Paul E. McKenney (29): scftorture: Increase memory provided to guest OS rcutorture: Disable tracing to permit Tasks Rude RCU testing rcu: Add lockdep checks and kernel-doc header to rcu_softirq_qs() rcutorture: Enable RCU priority boosting for TREE09 rcutorture: Dump # online CPUs on insufficient cb-flood laundering rcutorture: Dump GP kthread state on insufficient cb-flood laundering rcutorture: ASSERT_EXCLUSIVE_WRITER() for ->rtort_pipe_count updates rcu-tasks: Make Tasks RCU wait idly for grace-period delays bpf: Select new NEED_TASKS_RCU Kconfig option arch: Select new NEED_TASKS_RCU Kconfig option tracing: Select new NEED_TASKS_RCU Kconfig option bpf: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION ftrace: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION rcu: Make TINY_RCU depend on !PREEMPT_RCU rather than !PREEMPTION srcu: Make Tiny SRCU explicitly disable preemption rcu: Create NEED_TASKS_RCU to factor out enablement logic rcu: Remove redundant BH disabling in TINY_RCU rcu: Make Tiny RCU explicitly disable preemption rcu: Remove redundant READ_ONCE() of rcu_state.gp_flags in tree.c rcu: Bring diagnostic read of rcu_state.gp_flags into alignment rcu: Mark writes to rcu_sync ->gp_count field rcu: Mark loads from rcu_state.n_online_cpus rcu: Make hotplug operations track GP state, not flags rcu: Inform KCSAN of one-byte cmpxchg() in rcu_trc_cmpxchg_need_qs() rcu: Remove redundant CONFIG_PROVE_RCU #if condition rcu-tasks: Replace exit_tasks_rcu_start() initialization with WARN_ON_ONCE() rcutorture: Remove extraneous rcu_torture_pipe_update_one() READ_ONCE() rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment torture: Scale --do-kvfree test time Uladzislau Rezki (Sony) (6): rcu: Add data structures for synchronize_rcu() rcu: Update lockdep while in RCU read-side critical section rcu: Reduce synchronize_rcu() latency rcu: Add a trace event for synchronize_rcu_normal() rcu: Support direct wake-up of synchronize_rcu() users rcu: Allocate WQ with WQ_MEM_RECLAIM bit set Zenghui Yu (1): doc: Remove references to arrayRCU.rst Zqiang (7): rcu-tasks: Fix the comments for tasks_rcu_exit_srcu_stall_timer rcutorture: Use the gp_kthread_dbg operation specified by cur_ops rcutorture: Make rcutorture support print rcu-tasks gp state rcutorture: Removing redundant function pointer initialization rcutorture: Make stall-tasks directly exit when rcutorture tests end rcutorture: Fix invalid context warning when enable srcu barrier testing rcutorture: Use rcu_gp_slow_register/unregister() only for rcutype test linke li (1): rcutorture: Re-use value stored to ->rtort_pipe_count instead of re-reading .mailmap | 3 - Documentation/RCU/whatisRCU.rst | 6 +- Documentation/admin-guide/kernel-parameters.txt | 14 ++++ MAINTAINERS | 2 arch/Kconfig | 4 - include/linux/rcupdate.h | 2 include/linux/rcupdate_wait.h | 18 +++--- include/linux/srcutiny.h | 2 include/trace/events/rcu.h | 27 +++++++++ kernel/bpf/Kconfig | 2 kernel/bpf/trampoline.c | 2 kernel/rcu/Kconfig | 2 kernel/rcu/rcu.h | 20 +++--- kernel/rcu/rcutorture.c | 4 - kernel/rcu/srcutiny.c | 31 ++++++++-- kernel/rcu/srcutree.c | 5 - kernel/rcu/sync.c | 8 ++ kernel/rcu/tasks.h | 6 +- kernel/rcu/tiny.c | 2 kernel/rcu/tree.c | 28 +++++++++ kernel/rcu/tree.h | 14 ++++ kernel/rcu/tree_exp.h | 2 kernel/rcu/tree_plugin.h | 4 - kernel/rcu/tree_stall.h | 2 kernel/rcu/update.c | 4 - kernel/trace/Kconfig | 4 - kernel/trace/ftrace.c | 3 - tools/testing/selftests/rcutorture/bin/torture.sh | 2 tools/testing/selftests/rcutorture/configs/rcu/TREE09 | 5 + include/linux/rcupdate.h | 20 +++++- kernel/rcu/Kconfig | 6 +- kernel/rcu/rcutorture.c | 81 +++++++++++++++------------ kernel/rcu/tasks.h | 38 +++++++++++- kernel/rcu/tiny.c | 2 kernel/rcu/tree.c | 408 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- kernel/rcu/tree.h | 10 ++- kernel/rcu/tree_stall.h | 9 ++- tools/testing/selftests/rcutorture/bin/torture.sh | 4 - 38 files changed, 666 insertions(+), 140 deletions(-) -- 2.39.2