]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs/proc/base: use maple tree iterators in place of linked list
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 22 Aug 2022 15:06:25 +0000 (15:06 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:03:17 +0000 (22:03 -0700)
commit2033e1ce5192d83870c8091fabf25f84a903a738
treea416dcf1bc4e1f5b156c9bb1552dbce468ff9faa
parent70fb53d815805176f5cfb10cb6be4a2e62568a5c
fs/proc/base: use maple tree iterators in place of linked list

Use mas_for_each to iterate the list of VMAs instead of a for loop
across the linked list.

Link: https://lkml.kernel.org/r/20220822150128.1562046-43-Liam.Howlett@oracle.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>
Cc: Yu Zhao <yuzhao@google.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/base.c