]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmap: Use the VMA iterator in count_vma_pages_range()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Oct 2021 13:08:39 +0000 (09:08 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 11 Feb 2022 03:38:05 +0000 (22:38 -0500)
commit19bcf4a7603f825896e299c374773de20f03cd1d
tree49018091ef96f3e2525eb82ea6fdfcc407ae535d
parent3093616a72f79aa17bfd3a48144d45257af18090
mmap: Use the VMA iterator in count_vma_pages_range()

This simplifies the implementation and is faster than using the linked
list.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
mm/mmap.c