]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vmscan: Use vma iterator instead of vm_next
authorLiam Howlett <liam.howlett@oracle.com>
Mon, 22 Aug 2022 15:06:33 +0000 (15:06 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 22 Aug 2022 22:58:31 +0000 (15:58 -0700)
commit9f645a94402db3ce56d57d5f9e3bc869b26f80c1
tree1188c3e01f86c8302543a03d8b0c31a298b2a4d2
parent79f53964a141e6d2e1fd6379f6320717c6d18942
mm/vmscan: Use vma iterator instead of vm_next

Use the vma iterator in in get_next_vma() instead of the linked list.

Link: https://lkml.kernel.org/r/20220822150128.1562046-68-Liam.Howlett@oracle.com
Suggested-by: Yu Zhao <yuzhao@google.com>
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: SeongJae Park <sj@kernel.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c