[PATCH v4 44/66] ipc/shm: Use VMA iterator instead of linked list

Vlastimil Babka vbabka at suse.cz
Fri Jan 21 04:25:32 PST 2022


On 12/1/21 15:30, Liam Howlett wrote:
> From: "Liam R. Howlett" <Liam.Howlett at Oracle.com>
> 
> 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 at infradead.org>
> Signed-off-by: Liam R. Howlett <Liam.Howlett at Oracle.com>

Acked-by: Vlastimil Babka <vbabka at suse.cz>



More information about the maple-tree mailing list