diff options
author | Carlos Llamas <[email protected]> | 2023-05-02 20:12:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-05-13 20:30:16 +0900 |
commit | b15655b12ddca7ade09807f790bafb6fab61b50a (patch) | |
tree | 11b81bfb3eb984ee617f095f3ed3755742a36623 /scripts/generate_rust_analyzer.py | |
parent | bdc1c5fac982845a58d28690cdb56db8c88a530d (diff) |
Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
This reverts commit 44e602b4e52f70f04620bbbf4fe46ecb40170bde.
This caused a performance regression particularly when pages are getting
reclaimed. We don't need to acquire the mmap_lock to determine when the
binder buffer has been fully initialized. A subsequent patch will bring
back the lockless approach for this.
[cmllamas: resolved trivial conflicts with renaming of alloc->mm]
Fixes: 44e602b4e52f ("binder_alloc: add missing mmap_lock calls when using the VMA")
Cc: Liam Howlett <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: [email protected]
Signed-off-by: Carlos Llamas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions