summaryrefslogtreecommitdiff
path: root/mm/memory.c
diff options
context:
space:
mode:
authorOscar Salvador <osalvador@suse.de>2024-05-09 13:01:48 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-05-12 01:41:37 +0300
commit88e4f525002bd3c28fe7a272ffcce743d07c02bd (patch)
treeb0a61002968700286c99ba6b95fa3fbd024be4ba /mm/memory.c
parent8e34419f4de3eaeed57aee69076105e5d88fbcbe (diff)
downloadlinux-88e4f525002bd3c28fe7a272ffcce743d07c02bd.tar.xz
mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_wp
commit 1cb9dc4b475c ("mm: hwpoison: support recovery from HugePage copy-on-write faults") added support to use the mc variants when coping hugetlb pages on CoW faults. Add the missing VM_FAULT_SET_HINDEX, so the right si_addr_lsb will be passed to userspace to report the extension of the faulty area. Link: https://lkml.kernel.org/r/20240509100148.22384-3-osalvador@suse.de Signed-off-by: Oscar Salvador <osalvador@suse.de> Acked-by: Peter Xu <peterx@redhat.com> Acked-by: Axel Rasmussen <axelrasmussen@google.com> Cc: Liu Shixin <liushixin2@huawei.com> Cc: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions