diff options
| author | Sherry Yang <sherryy@android.com> | 2017-10-21 03:58:58 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-21 11:14:20 +0300 |
| commit | a0c2baaf81bd53dc76fccdddc721ba7dbb62be21 (patch) | |
| tree | 0104ebfb31019168be252bc006e4689674cd8dcf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9d35593b4f0b89ab0c194349c7d357b3b159e99a (diff) | |
| download | linux-a0c2baaf81bd53dc76fccdddc721ba7dbb62be21.tar.xz | |
android: binder: Don't get mm from task
Use binder_alloc struct's mm_struct rather than getting
a reference to the mm struct through get_task_mm to
avoid a potential deadlock between lru lock, task lock and
dentry lock, since a thread can be holding the task lock
and the dentry lock while trying to acquire the lru lock.
Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sherry Yang <sherryy@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
