diff options
author | David Hildenbrand <[email protected]> | 2022-10-21 12:11:38 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:07 -0800 |
commit | c31783eeae7b22dc3f6edde7339de6112959225d (patch) | |
tree | fa381e0068e1c1f360dce1353a5d0bf3b956e34d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 93fb70aa5904c2577fab8100fa990ecfa4f5b4c7 (diff) |
mm/pagewalk: don't trigger test_walk() in walk_page_vma()
As Peter points out, the caller passes a single VMA and can just do that
check itself.
And in fact, no existing users rely on test_walk() getting called. So
let's just remove it and make the implementation slightly more efficient.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions