aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2025-03-12 09:47:49 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 22:07:04 -0700
commit0a6ffacb3b42233fe44e0faedfcc8e83f9ad99c6 (patch)
treecc640ad20add52912026832e8887d25003a74b16 /tools/perf/scripts/python/export-to-postgresql.py
parentmm/madvise: split out populate behavior check logic (diff)
downloadwireguard-linux-0a6ffacb3b42233fe44e0faedfcc8e83f9ad99c6.tar.xz
wireguard-linux-0a6ffacb3b42233fe44e0faedfcc8e83f9ad99c6.zip
mm/madvise: deduplicate madvise_do_behavior() skip case handlings
The logic for checking if a given madvise() request for a single memory range can skip real work, namely madvise_do_behavior(), is duplicated in do_madvise() and vector_madvise(). Split out the logic to a function and reuse it. Link: https://lkml.kernel.org/r/20250312164750.59215-4-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev> Cc: David Hildenbrand <david@redhat.com> Cc: Liam R. Howlett <howlett@gmail.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions