Re: [PATCH v2 2/3] mm/vma: remove mmap_action->success_hook

From: David Hildenbrand (Arm)

Date: Mon Jun 01 2026 - 11:32:01 EST


On 5/22/26 18:00, Lorenzo Stoakes wrote:
> This hook was introduced to work around code that seemed to absolutely
> require access to a VMA pointer upon mmap().
>
> However, providing this hook leaves a backdoor to drivers getting access to
> the very thing mmap_prepare eliminates - a pointer to the VMA.

Good!

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David