diff options
| author | Chi Zhiling <chizhiling@kylinos.cn> | 2025-07-10 14:04:51 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-19 18:59:53 -0700 |
| commit | c809579374f47c8273eaf22a40674ae547f39254 (patch) | |
| tree | 89565b1fbbb77f3f7036a21541e7715cb78099ca /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 188cb385bbf04d486df3e52f28c47b3961f5f0c0 (diff) | |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
