aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2024-05-30 15:45:51 +0200
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-07-29 07:34:32 +0530
commit91e43b9044a4f9b6976dc28b3f1446b733cc68de (patch)
treea73572f5cfc8d22d3e562cdddf228cef51e8cb8c
parentbae6076ebbd14cc1f1bd4de65c2db21d3ab109d7 (diff)
rcu/nocb: Remove SEGCBLIST_KTHREAD_CB
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@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
-rw-r--r--include/linux/rcu_segcblist.h5
1 files 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;