[PATCH tip/core/rcu 44/47] rcu: Remove redundant check for rcu_head misalignment

From: Paul E. McKenney
Date: Fri Feb 03 2012 - 20:51:38 EST

From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
kernel/rcu.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/rcu.h b/kernel/rcu.h
index a074b0b..30876f4 100644
--- a/kernel/rcu.h
+++ b/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,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/