[PATCH rcu 10/11] rcu/nocb: Remove SEGCBLIST_KTHREAD_CB

From: neeraj . upadhyay
Date: Fri Aug 16 2024 - 00:59:13 EST


From: Frederic Weisbecker <frederic@xxxxxxxxxx>

This state excerpt from the (de-)offloading state machine was used to
implement an ad-hoc kthread parking of rcuo kthreads. This code has
been removed and therefore the related state can be erased as well.

Signed-off-by: Frederic Weisbecker <frederic@xxxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@xxxxxxxxxx>
---
include/linux/rcu_segcblist.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/linux/rcu_segcblist.h b/include/linux/rcu_segcblist.h
index 5469c54cd778..1ef1bb54853d 100644
--- a/include/linux/rcu_segcblist.h
+++ b/include/linux/rcu_segcblist.h
@@ -186,9 +186,8 @@ struct rcu_cblist {
*/
#define SEGCBLIST_ENABLED BIT(0)
#define SEGCBLIST_LOCKING BIT(1)
-#define SEGCBLIST_KTHREAD_CB BIT(2)
-#define SEGCBLIST_KTHREAD_GP BIT(3)
-#define SEGCBLIST_OFFLOADED BIT(4)
+#define SEGCBLIST_KTHREAD_GP BIT(2)
+#define SEGCBLIST_OFFLOADED BIT(3)

struct rcu_segcblist {
struct rcu_head *head;
--
2.40.1