]> 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>
Wed, 20 Jul 2022 02:17:58 +0000 (02:17 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 6 Sep 2022 19:44:24 +0000 (15:44 -0400)
commit49a791a2ed9c49f55200f4b64b1b38a393b13d2b
tree7f996e0888fff7a384947dadb13f53112f72aab9
parent97ad829add5433f737bab9f0ae6e182626fa3758
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