diff options
| author | Sahitya Tummala <stummala@codeaurora.org> | 2017-04-21 21:56:19 +0530 |
|---|---|---|
| committer | Sahitya Tummala <stummala@codeaurora.org> | 2017-04-25 09:15:18 +0530 |
| commit | cd6afb3e4b8c48210b155dc46bf6793b609b7d93 (patch) | |
| tree | 1d35ae5858840bdf3b84a1c774d3cff5f35c064a /tools/perf/scripts/python | |
| parent | 6ee87610acf2927de5365f456ca0e6529f5c0d1a (diff) | |
fs/dcache: Fix indefinite wait in d_invalidate()
In the path of task exit, the proc dentries corresponding to this
task will be killed by moving it to a shrink list. If those dentries
are already claimed by another task for shrinking, the exiting
task waits in a tight loop until those dentries are killed. This can
potentially result in a deadlock if those dentries are corresponding
to an RT task but the task which is shrinking those dentries is a
lower priority task. Fix this by not doing tight loop, if our dentries
are claimed by other task.
Change-Id: If6848521469db7dea2bbba0dbaf8597094716267
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
