rcu: remove redundant nxttail index marco define
PATCH 1/1 rcu: remove redundant nxttail index marco define
rcu nxttail has been optimized to be rcu_segcblist. The index has been defined in linux/rcu_segcblist.h
Signed-off-by Liu Changcheng <[email protected]>
kernel/rcu/tree.h +0 -7
@@ -185,13 +185,6 @@ union rcu_noqs {u16 s;/* Set of bits, aggregate OR here. */ }; -/* Index values for nxttail array in struct rcu_data. */ -#define RCU_DONE_TAIL 0/* Also RCU_WAIT head. */ -#define RCU_WAIT_TAIL 1/* Also RCU_NEXT_READY head. */ -#define RCU_NEXT_READY_TAIL 2/* Also RCU_NEXT head. */ -#define RCU_NEXT_TAIL 3 -#define RCU_NEXT_SIZE 4 -/* Per-CPU data for read-copy update. */ struct rcu_data {/* 1) quiescent-state and grace-period handling : */
Signature · 1 line
2.7.4
Quoted 4 lines · Changcheng
rcu nxttail has been optimized to be
rcu_segcblist. The index has been defined inlinux/rcu_segcblist.hSigned-off-by Liu Changcheng <[email protected]>
Good eyes! Applied for testing and review.
Thanx, Paul
Quoted 21 lines
kernel/rcu/tree.h +0
-7@@ -185,13 +185,6 @@ union rcu_noqs {u16 s;/* Set of bits, aggregate OR here. */ }; -/* Index values for nxttail array in struct rcu_data. */ -#define RCU_DONE_TAIL 0/* Also RCU_WAIT head. */ -#define RCU_WAIT_TAIL 1/* Also RCU_NEXT_READY head. */ -#define RCU_NEXT_READY_TAIL 2/* Also RCU_NEXT head. */ -#define RCU_NEXT_TAIL 3 -#define RCU_NEXT_SIZE 4 -/* Per-CPU data for read-copy update. */ struct rcu_data {/* 1) quiescent-state and grace-period handling : */ Signature · 1 line
2.7.4