On Mon, Oct 21, 2024 at 03:45:31PM +0200, Vlastimil Babka wrote: [snip]
Signed-off-by: Lorenzo Stoakes lorenzo.stoakes@oracle.com
Acked-by: Vlastimil Babka vbabka@suse.cz
Thanks!
A nit below:
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 906294ac85dc..50e3f6ed73ac 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -6353,6 +6353,9 @@ vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, ret = VM_FAULT_HWPOISON_LARGE | VM_FAULT_SET_HINDEX(hstate_index(h)); goto out_mutex;
} else if (marker & PTE_MARKER_GUARD) {
ret = VM_FAULT_SIGSEGV;
goto out_mutex;
Given we don't support hugetlb, should we WARN_ON_ONCE() if such unexpected marker appears there?
Yes agreed, will add.
[snip]