aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVijay Viswanath <vviswana@codeaurora.org>2016-11-15 11:02:03 +0530
committerRandall Huang <huangrandall@google.com>2019-03-06 07:19:32 +0000
commitcf284d7578021dfb8b571464110b23fd9bfbf958 (patch)
tree12379b7b2ed7d4ada60f0da2fa935e8253a66261 /tools/perf/util/scripting-engines/trace-event-python.c
parent1fbf2ee615ad651af063448d6f187dadc0a670cf (diff)
scsi: ufs: Add clock ungating to a separate workqueue
UFS driver can receive a request during memory reclaim by kswapd. So when ufs driver puts the ungate work in queue, and if there are no idle workers, kthreadd is invoked to create a new kworker. Since kswapd task holds a mutex which kthreadd also needs, this can cause a deadlock situation. So ungate work must be done in a separate work queue with WQ__RECLAIM flag enabled.Such a workqueue will have a rescue thread which will be called when the above deadlock condition is possible. Change-Id: I6b50e32a12c0279d12e82b278af9b2c2da82ff54 Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions