[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230105002845.GA1769240@paulmck-ThinkPad-P17-Gen-1>
Date: Wed, 4 Jan 2023 16:28:45 -0800
From: "Paul E. McKenney" <paulmck@...nel.org>
To: rcu@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-team@...a.com,
rostedt@...dmis.org
Subject: [PATCH rcu 0/9] SRCU updates for v6.3
Hello!
This series provides SRCU updates, perhaps most notably the addition
of a srcu_down_read() and srcu_up_read() that act like srcu_read_lock()
and srcu_read_unlock(), but which permit the srcu_up_read() to be invoked
from a different context than the srcu_down_read().
1. Release early_srcu resources when no longer in use, courtesy
of Zqiang.
2. Delegate work to the boot cpu if using SRCU_SIZE_SMALL, courtesy
of Pingfan Liu.
3. Fix a misspelling in comment, courtesy of Pingfan Liu.
4. Fix the comparision in srcu_invl_snp_seq(), courtesy of Pingfan
Liu.
5. Add srcu_down_read() and srcu_up_read().
6. Add test code for semaphore-like SRCU readers.
7. Remove needless rcu_seq_done() check while holding read lock,
courtesy of Pingfan Liu.
8. Yet more detail for srcu_readers_active_idx_check() comments.
9. Update comment after the index flip.
Thanx, Paul
------------------------------------------------------------------------
b/include/linux/srcu.h | 45 ++++++++++++++++++++++
b/include/linux/srcutree.h | 2 -
b/kernel/rcu/srcutree.c | 9 ++--
b/kernel/rcu/update.c | 1
kernel/rcu/srcutree.c | 89 ++++++++++++++++++++++++++++++++-------------
kernel/rcu/update.c | 3 +
6 files changed, 119 insertions(+), 30 deletions(-)
Powered by blists - more mailing lists