]> 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, 11 Feb 2022 03:38:08 +0000 (22:38 -0500)
commitd3cb313a58f67b3dc6faedd878fb57a7ccb9299f
treee61bddf41021fec9d6c90fd8b5f14371be150db1
parentee6e4d63dbe12aeb9aceb1098d6bf01f46fa1549
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