Thread (30 messages) 30 messages, 7 authors, 2025-11-19

Re: [PATCH v3 1/8] mm: introduce VM_MAYBE_GUARD and make visible in /proc/$pid/smaps

From: Lorenzo Stoakes <hidden>
Date: 2025-11-18 07:34:02
Also in: linux-doc, linux-fsdevel, linux-kselftest, linux-mm, lkml

On Mon, Nov 17, 2025 at 05:05:26PM -0800, jane.chu@oracle.com wrote:

On 11/7/2025 8:11 AM, Lorenzo Stoakes wrote:
[snip]
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help