... as we clearly inline mcs_spin_lock() now.
Showing the changes to kernel/locking (1 of 1 file). Show all
Unified · Split
| @@ -56,9 +56,6 @@ do { \ · 55 unmodified lines | ||
| 56 | 56 | * If the lock has already been acquired, then this will proceed to spin |
| 57 | 57 | * on this node->locked until the previous lock holder sets the node->locked |
| 58 | 58 | * in mcs_spin_unlock(). |
| 59 | − * | |
| 60 | − * We don't inline mcs_spin_lock() so that perf can correctly account for the | |
| 61 | − * time spent in this lock function. | |
| 62 | 59 | */ |
| 63 | 60 | static inline |
| 64 | 61 | void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) |