]> 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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 14 Mar 2022 18:49:46 +0000 (14:49 -0400)
commit0d476e72db0596cbcee98e86c2c2165602bbdfd8
treebb989e5c5683800d4db4f1f1409c3c8e97ca2899
parentbdf8b3b5c8e1c9fe1c29fe58e3b15782227e3757
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: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
ipc/shm.c