Commit 7d6c90b
sched: Make raw_spin_rq_unlock() inline
raw_spin_rq_unlock() is short, and is called in some hot code paths
such as finish_lock_switch.
Make raw_spin_rq_unlock() inline to optimize performance.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Cc: David Hildenbrand (Red Hat) <david@kernel.org>
Cc: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xie Yuanbin <qq570070308@gmail.com>1 parent 35b9e0c commit 7d6c90b
2 files changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | 689 | | |
695 | 690 | | |
696 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | 1605 | | |
1609 | 1606 | | |
1610 | 1607 | | |
1611 | 1608 | | |
1612 | 1609 | | |
1613 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
1614 | 1617 | | |
1615 | 1618 | | |
1616 | 1619 | | |
| |||
0 commit comments