]> 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>
Fri, 26 Nov 2021 19:50:33 +0000 (14:50 -0500)
commit0f2fab367b320b9433737b1dc2e853bd12146915
tree521dd80b58a530a3d973c36810ba76271edd4d4b
parent2fc3da093511ddce05e9c7e1077893af9e5bbd69
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