]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf: use VMA iterator
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:20 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:48 +0000 (17:49 -0400)
commitaca0ff5fd5a9d2f30126ea81c7a357708e29fcc7
tree724a55d2799cf8c039d94e9646bc592d575a05ae
parentff3e21a7af7f4e03dd143ad790d04a95ef68bc07
perf: use VMA iterator

The VMA iterator is faster than the linked list and removing the linked
list will shrink the vm_area_struct.

Link: https://lkml.kernel.org/r/20220404143501.2016403-49-Liam.Howlett@oracle.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/events/core.c
kernel/events/uprobes.c