]> 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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 30 Oct 2021 03:37:28 +0000 (23:37 -0400)
commit57fddd22bf9546c7671972778e3f6795d513ce18
treec2eb64f096db2083cad48d7f242be2b7dcc02be6
parenta27abba857266c28cf5e3413b09886cbd3ba3882
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