History

rcu: Streamline code produced by __rcu_read_unlock()

This is a port of commit #be0e1e21 to TINY_PREEMPT_RCU. This uses noinline to prevent rcu_read_unlock_special() from being inlined into __rcu_read_unlock().

Paul E. McKenney committed 14 years ago

Commit afef2051 parent 26861fa1 file · +1 −1Browse files

Unified · Split

kernel/rcutiny_plugin.h+1−1
@@ -544,7 +544,7 @@ EXPORT_SYMBOL_GPL(__rcu_read_lock); · 543 unmodified lines
544 * notify RCU core processing or task having blocked during the RCU544 * notify RCU core processing or task having blocked during the RCU
545 * read-side critical section.545 * read-side critical section.
546 */546 */
547static void rcu_read_unlock_special(struct task_struct *t)547static noinline void rcu_read_unlock_special(struct task_struct *t)
548{548{
549 int empty;549 int empty;
550 int empty_exp;550 int empty_exp;

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