]> 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>
Thu, 16 Dec 2021 03:01:35 +0000 (22:01 -0500)
commit1474ab33d3ff39f349117e27eeb69a1c7ae51606
tree58fcc402fd792748f1b8b2e7aeb864fd2c1d2e05
parentd0d48c4af0195ab76917083f83a2900a33cc893e
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