Re: [PATCH v2] fs/proc/task_mmu: fix missed VMAs when reading /proc/PID/maps and friends

From: Jose A. Perez de Azpillaga

Date: Tue Oct 27 2026 - 18:10:29 EST


On 10/27/26 3:08 PM, Lorenzo Stoakes (ARM) wrote:

[snip]

> + if (from_addr < vma->vm_start &&
> + vma_rcu_iter_may_have_skipped(rvmi, from_addr, vma->vm_start - 1))
> + goto fallback_unlock;

the helpers make this a lot easier to follow than v1 :)

I re-tested v2 on x86_64 in qemu with KASAN, as in v1. So, this LGTM:

Reviewed-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>
Tested-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>

--
cheers,
jose a. p-a