summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-02-05 22:15:17 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:04 -0700
commit4000e3d0a367c5ff2035a0394b01b93974be6cb1 (patch)
treecd8629fd29bc88ae02c83fc9a24dff6ab03e6988 /tools/perf/scripts/python/exported-sql-viewer.py
parent457753da6462024ad821bcb4df2d828cf2ef18be (diff)
downloadlinux-4000e3d0a367c5ff2035a0394b01b93974be6cb1.tar.gz
linux-4000e3d0a367c5ff2035a0394b01b93974be6cb1.zip
mm/madvise: remove redundant mmap_lock operations from process_madvise()
Optimize redundant mmap lock operations from process_madvise() by directly doing the mmap locking first, and then the remaining works for all ranges in the loop. [akpm@linux-foundation.org: update comment, per Lorenzo] Link: https://lkml.kernel.org/r/20250206061517.2958-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Reviewed-by: Liam R. Howlett <howlett@gmail.com> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: David Hildenbrand <david@redhat.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions