mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:46:41 +07:00
rcu: Remove redundant check for rcu_head misalignment
There is now an unconditional check for rcu_head misalignment in __call_rcu(), so remove the old conditional one in debug_rcu_head_queue(). Reported-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
3c1b1ce00d
commit
ce5df97be5
@ -50,7 +50,6 @@ extern struct debug_obj_descr rcuhead_debug_descr;
|
|||||||
|
|
||||||
static inline void debug_rcu_head_queue(struct rcu_head *head)
|
static inline void debug_rcu_head_queue(struct rcu_head *head)
|
||||||
{
|
{
|
||||||
WARN_ON_ONCE((unsigned long)head & 0x3);
|
|
||||||
debug_object_activate(head, &rcuhead_debug_descr);
|
debug_object_activate(head, &rcuhead_debug_descr);
|
||||||
debug_object_active_state(head, &rcuhead_debug_descr,
|
debug_object_active_state(head, &rcuhead_debug_descr,
|
||||||
STATE_RCU_HEAD_READY,
|
STATE_RCU_HEAD_READY,
|
||||||
|
Loading…
Reference in New Issue
Block a user