]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipc/shm: Use VMA iterator instead of linked list
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 4 Jan 2021 19:51:19 +0000 (14:51 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 1 Nov 2021 14:43:49 +0000 (10:43 -0400)
commitabae77d68c44a76ce1f1ab935675a66ffb654821
tree1c679871b537084e813adfb84a5784bce22a078c
parentd33f389182436274c6d770038bee6a82c59ac59d
ipc/shm: Use VMA iterator instead of linked list

The VMA iterator is faster than the linked llist, and it can be walked
even when VMAs are being removed from the address space, so there's no
need to keep track of 'next'.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
ipc/shm.c