diff options
| author | Sherry Yang <sherryy@android.com> | 2017-09-08 02:09:26 -0400 |
|---|---|---|
| committer | Sherry Yang <sherryy@android.com> | 2017-09-20 20:37:31 -0400 |
| commit | 849c7764d8081c029cd7d5d2a5f9ace1a4bd084f (patch) | |
| tree | c52a10b24e89a67c49759be26626783b7f5da300 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 9cfefbcfaab85139d3b5515d971d487f02d424e8 (diff) | |
FROMLIST: android: binder: Drop lru lock in isolate callback
(from https://patchwork.kernel.org/patch/9945123/)
Drop the global lru lock in isolate callback
before calling zap_page_range which calls
cond_resched, and re-acquire the global lru
lock before returning. Also change return
code to LRU_REMOVED_RETRY.
Use mmput_async when fail to acquire mmap sem
in an atomic context.
Fix "BUG: sleeping function called from invalid context"
errors when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
Bug: 63926541
Change-Id: I45dbada421b715abed9a66d03d30ae2285671ca1
Fixes: f2517eb76f1f2 ("android: binder: Add global lru shrinker to binder")
Reported-by: Kyle Yan <kyan@codeaurora.org>
Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sherry Yang <sherryy@android.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
