On Wed, Aug 27, 2025 at 11:46 PM Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> wrote: > > On Tue, Aug 26, 2025 at 03:19:42PM +0800, Yafang Shao wrote: > > Every VMA must have an associated mm_struct, and it is safe to access > > Err this isn't true? Pretty sure special VMAs don't have that set. I’m not aware of any VMA that doesn’t belong to an mm_struct. If there is such a case, it would be helpful if you could point it out. In any case, I’ll remove the VMA-related code in the next version since it’s unnecessary. > > > outside of RCU. Thus, we can mark it as trusted. With this change, BPF > > helpers can safely access vma->vm_mm to retrieve the associated task > > from the VMA. > > On the basis of above don't think this is valid. > -- Regards Yafang