diff options
author | Minchan Kim <minchan@kernel.org> | 2019-02-18 17:11:45 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-19 14:50:11 +0100 |
commit | 3013bf62b67aef921bc2e9ba10e639a022002d02 (patch) | |
tree | 783ad1e60175ec150ea953276af0f8ab6e8fab49 /.get_maintainer.ignore | |
parent | 7c11df42d0c7bf5b3dd743a21b4872e7b26ca2a2 (diff) |
binder: reduce mmap_sem write-side lock
binder has used write-side mmap_sem semaphore to release memory
mapped at address space of the process. However, right lock to
release pages is down_read, not down_write because page table lock
already protects the race for parallel freeing.
Please do not use mmap_sem write-side lock which is well known
contented lock.
Cc: Todd Kjos <tkjos@google.com>
Cc: Martijn Coenen <maco@android.com>
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions