aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorKai-Heng Feng <[email protected]>2020-06-03 07:48:19 +0000
committerJens Axboe <[email protected]>2020-06-18 15:21:40 +0000
commitb5292111de9bb70cba3489075970889765302136 (patch)
tree086231488b2186326546bdc7a7c7c18e9175250c /tools/perf/scripts/python/check-perf-trace.py
parentata/libata: Fix usage of page address by page_address in ata_scsi_mode_select... (diff)
downloadkernel-b5292111de9bb70cba3489075970889765302136.tar.gz
kernel-b5292111de9bb70cba3489075970889765302136.zip
libata: Use per port sync for detach
Commit 130f4caf145c ("libata: Ensure ata_port probe has completed before detach") may cause system freeze during suspend. Using async_synchronize_full() in PM callbacks is wrong, since async callbacks that are already scheduled may wait for not-yet-scheduled callbacks, causes a circular dependency. Instead of using big hammer like async_synchronize_full(), use async cookie to make sure port probe are synced, without affecting other scheduled PM callbacks. Fixes: 130f4caf145c ("libata: Ensure ata_port probe has completed before detach") Suggested-by: John Garry <[email protected]> Signed-off-by: Kai-Heng Feng <[email protected]> Tested-by: John Garry <[email protected]> BugLink: https://bugs.launchpad.net/bugs/1867983 Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions