Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Martijn Coenen <[email protected]> Cc: Arve Hjønnevåg <[email protected]> Signed-off-by: Minchan Kim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information