diff options
| author | Paul E. McKenney <[email protected]> | 2024-11-11 09:38:26 -0800 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2024-11-12 23:30:33 +0100 |
| commit | 174dd22a781b97cb355b1037f0931436a254d3be (patch) | |
| tree | 5dda585f3b2ce6bf957245be2118e7c7bad1747b /tools/perf/scripts/python/sched-migration.py | |
| parent | 768b1f87098a4a586353898b074989808b1b27ad (diff) | |
srcu: Remove smp_mb() from srcu_read_unlock_lite()
The srcu_read_unlock_lite() function invokes __srcu_read_unlock() instead
of __srcu_read_unlock_lite(), which means that it is doing an unnecessary
smp_mb(). This is harmless other than the performance degradation.
This commit therefore switches to __srcu_read_unlock_lite().
Reported-by: Neeraj Upadhyay <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: c0f08d6b5a61 ("srcu: Add srcu_read_lock_lite() and srcu_read_unlock_lite()")
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Reviewed-by: Neeraj Upadhyay <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions