Browse files

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 <>
Signed-off-by: Paul E. McKenney <>
  • Loading branch information...
1 parent 3c1b1ce commit ce5df97be530e4746bf9a4ac14589a1cfdfd8efc @paulmck paulmck committed Feb 2, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 kernel/rcu.h
@@ -50,7 +50,6 @@ extern struct debug_obj_descr rcuhead_debug_descr;
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_active_state(head, &rcuhead_debug_descr,

0 comments on commit ce5df97

Please sign in to comment.