+1
−1
Loading
mainline inclusion from mainline-v6.10-rc1 commit 88e4f525002bd3c28fe7a272ffcce743d07c02bd category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB0OV7 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88e4f525002bd3c28fe7a272ffcce743d07c02bd -------------------------------- commit 1cb9dc4b ("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> Conflicts: mm/hugetlb.c [Ma Wupeng: context conflict] Signed-off-by:
Ma Wupeng <mawupeng1@huawei.com>