diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2025-08-17 03:26:47 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 16:55:15 -0700 |
| commit | 5d5d75ff646c9b5e54f1c0018097d970dabafb74 (patch) | |
| tree | e9d8c74d2aa383a6a46d20701acbe80f7f575ab2 /rust/kernel/mm/mmput_async.rs | |
| parent | mm/rmap: not necessary to mask off FOLIO_PAGES_MAPPED (diff) | |
| download | linux-5d5d75ff646c9b5e54f1c0018097d970dabafb74.tar.gz linux-5d5d75ff646c9b5e54f1c0018097d970dabafb74.zip | |
mm/rmap: use folio_large_nr_pages() when we are sure it is a large folio
Non-large folio is handled at the beginning, so it is a large folio for
sure.
Use folio_large_nr_pages() here like elsewhere.
Link: https://lkml.kernel.org/r/20250817032647.29147-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/kernel/mm/mmput_async.rs')
0 files changed, 0 insertions, 0 deletions
