]> 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, 26 Nov 2021 19:50:27 +0000 (14:50 -0500)
commit5feee03e6152e48c7a5e03fa30c1198f31eceff3
tree3494a3c4e0e15ce71d3490534ddbeb603a6ca27c
parenta3dac5d7f7be9fb4a5e0326b632a26955a608e28
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>
mm/mmap.c