summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@codeaurora.org>2016-07-11 13:55:50 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-02 01:25:00 -0800
commit6794d0e2d0962a24e1ed4945088916bb7a0fd786 (patch)
treed66a91bd69dd24b85d393784d345711f2b3a3918 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfd967eb3e0463ce25190b70387df68ffbee21a59 (diff)
mmc: core: Fix deadlock in suspend & rescan path
Due to deferred resume enabled -> | in system suspend | dpm_prepare | mmc_pm_notify with PREPARE_SUSPEND This will return from here and will not wait for mmc_rescan to complete. Because of above system has deadlocked in which => mmc_rescan after acquiring device's mutex_lock, has scheduled a work on WQ_FREEZABLE(bdi_wq) which will not run since system freeze state has already completed. This will only complete once tasks are unfreezed which means only after system resume is completed. And system suspend, is unpreparing the devices from dpm_prepared_list. During which this process is trying to acquire card->device's mutex lock which is held by above process. Thus a deadlock. Change-Id: I926bb3783e62892ce842e5d4da44a3c24c8f244d Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions