]> 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>
Mon, 14 Mar 2022 18:49:44 +0000 (14:49 -0400)
commit8a56a9754a7ce95811e0e595ac2ecdf46ec8f453
treed08c0873ec57758b48f27019535212c9fdc279a8
parent5737929b22a5332a4efaad072af5d99d4cb11845
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