Re: [PATCH] fs/proc/task_mmu: fix lost maps entries above 2^63
From: Stian Halseth
Date: Tue Oct 13 2026 - 11:21:19 EST
On Tue, 2026-10-13 at 16:40 +0200, David Hildenbrand (Arm) wrote:
>
> Would it be cleaner to reject any special values, that is,
> SENTINEL_VMA_END and
> SENTINEL_VMA_GATE?
>
> That would match the comment and the previous code idea: exclude only
> 0 and
> sentinels.
>
> Could consider a simple addr_is_sentinel() helper.
>
Agreed, that reads better. SENTINEL_VMA_END never gets this far, since
m_start() returns early for it, so it is no functional change.
I'll send a v2 now, and maybe Suren can have a look directly at that
version.
Thanks,
Stian
Attachment:
signature.asc
Description: This is a digitally signed message part