aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChi Zhiling <chizhiling@kylinos.cn>2025-07-10 14:04:51 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-07-19 18:59:53 -0700
commitc809579374f47c8273eaf22a40674ae547f39254 (patch)
tree89565b1fbbb77f3f7036a21541e7715cb78099ca /tools/perf/scripts/python
parentmm/hmm: move pmd_to_hmm_pfn_flags() to the respective #ifdeffery (diff)
downloadlinux-c809579374f47c8273eaf22a40674ae547f39254.tar.gz
linux-c809579374f47c8273eaf22a40674ae547f39254.zip
readahead: use folio_nr_pages() instead of shift operation
folio_nr_pages() is faster helper function to get the number of pages when NR_PAGES_IN_LARGE_FOLIO is enabled. Link: https://lkml.kernel.org/r/20250710060451.3535957-1-chizhiling@163.com Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Ryan Roberts <ryan.roberts@arm.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions