aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2023-05-02 20:12:17 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-13 20:30:16 +0900
commitb15655b12ddca7ade09807f790bafb6fab61b50a (patch)
tree11b81bfb3eb984ee617f095f3ed3755742a36623 /lib/crypto/mpi/mpiutil.c
parentbdc1c5fac982845a58d28690cdb56db8c88a530d (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 <liam.howlett@oracle.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: stable@vger.kernel.org Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20230502201220.1756319-1-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions