Re: [PATCH v3 1/8] mm: introduce VM_MAYBE_GUARD and make visible in /proc/$pid/smaps
From: Lorenzo Stoakes
Date: Tue Nov 18 2025 - 02:34:56 EST
On Mon, Nov 17, 2025 at 05:05:26PM -0800, jane.chu@xxxxxxxxxx wrote:
>
>
> On 11/7/2025 8:11 AM, Lorenzo Stoakes wrote:
[snip]
> > diff --git a/mm/memory.c b/mm/memory.c
> > index 046579a6ec2f..334732ab6733 100644
> > --- a/mm/memory.c
> > +++ b/mm/memory.c
> > @@ -1480,6 +1480,10 @@ vma_needs_copy(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma)
> > if (src_vma->anon_vma)
> > return true;
> > + /* Guard regions have momdified page tables that require copying. */
>
> Nit: s/momdified/modified.
Thanks, Liam mentioned this too and I forgot to fix too, going to respin and
resolve :) I must have been tired :P
Cheers, Lorenzo