lkml.org 
[lkml]   [2012]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH tip/core/rcu 44/47] rcu: Remove redundant check for rcu_head misalignment
Date
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>

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>
---
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,
STATE_RCU_HEAD_READY,
--
1.7.8


\
 
 \ /
  Last update: 2012-02-04 02:53    [W:0.231 / U:6.724 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site