aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2024-12-10 14:31:05 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-24 09:35:23 +0100
commit95bc2d4a9020efcd7858c91e68e9f4e842e3e8c8 (patch)
tree879259025a958079337745595e09266fbc4cc27d /scripts/patch-kernel
parentbinder: propagate vm_insert_page() errors (diff)
downloadlinux-95bc2d4a9020efcd7858c91e68e9f4e842e3e8c8.tar.gz
linux-95bc2d4a9020efcd7858c91e68e9f4e842e3e8c8.zip
binder: use per-vma lock in page reclaiming
Use per-vma locking in the shrinker's callback when reclaiming pages, similar to the page installation logic. This minimizes contention with unrelated vmas improving performance. The mmap_sem is still acquired if the per-vma lock cannot be obtained. Cc: Suren Baghdasaryan <surenb@google.com> Suggested-by: Liam R. Howlett <Liam.Howlett@oracle.com> Reviewed-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20241210143114.661252-10-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions