History

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().

Paul E. McKenney committed 14 years ago

Commit ce5df971 parent 3c1b1ce1 file · +0 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/rcu.h+0−1
@@ -50,7 +50,6 @@ extern struct debug_obj_descr rcuhead_debug_descr; · 49 unmodified lines
50 50
51static inline void debug_rcu_head_queue(struct rcu_head *head)51static inline void debug_rcu_head_queue(struct rcu_head *head)
52{52{
53 WARN_ON_ONCE((unsigned long)head & 0x3);
54 debug_object_activate(head, &rcuhead_debug_descr);53 debug_object_activate(head, &rcuhead_debug_descr);
55 debug_object_active_state(head, &rcuhead_debug_descr,54 debug_object_active_state(head, &rcuhead_debug_descr,
56 STATE_RCU_HEAD_READY,55 STATE_RCU_HEAD_READY,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t