]> www.infradead.org Git - users/jedix/linux-maple.git/commit
exec: use VMA iterator instead of linked list
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:19 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:47 +0000 (17:49 -0400)
commitd14b4a83d326dae610d3c2dd3b220d6284217a99
treec0a48469d8e7a08142fb9a18715a93e3cdd6b985
parent769aa3cf0e28278f158a7f3a30ae544f63f84068
exec: use VMA iterator instead of linked list

Remove a use of the vm_next list by doing the initial lookup with the VMA
iterator and then using it to find the next entry.

Link: https://lkml.kernel.org/r/20220404143501.2016403-43-Liam.Howlett@oracle.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/exec.c