aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorMuchun Song <[email protected]>2024-10-21 16:52:51 +0800
committerJens Axboe <[email protected]>2024-10-22 14:05:09 -0600
commit904ebd2527c507752f5ddb358f887d2e0dab96a0 (patch)
treef4cd4b31081fec8d39137824defffcfd50ca5dcb /tools/perf/scripts/python/stat-cpi.py
parentfdad1a20cd57bff65539d971c0ec74faf2b5b2fc (diff)
block: remove redundant explicit memory barrier from rq_qos waiter and waker
The memory barriers in list_del_init_careful() and list_empty_careful() in pairs already handle the proper ordering between data.got_token and data.wq.entry. So remove the redundant explicit barriers. And also change a "break" statement to "return" to avoid redundant calling of finish_wait(). Signed-off-by: Muchun Song <[email protected]> Reviewed-by: Chengming Zhou <[email protected]> Reviewed-by: Omar Sandoval <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions