diff options
| author | Oscar Salvador <[email protected]> | 2024-05-09 10:01:48 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-11 22:41:37 +0000 |
| commit | 88e4f525002bd3c28fe7a272ffcce743d07c02bd (patch) | |
| tree | b0a61002968700286c99ba6b95fa3fbd024be4ba /lib/test_xarray.c | |
| parent | mm/hugetlb: add missing VM_FAULT_SET_HINDEX in hugetlb_fault (diff) | |
| download | kernel-88e4f525002bd3c28fe7a272ffcce743d07c02bd.tar.gz kernel-88e4f525002bd3c28fe7a272ffcce743d07c02bd.zip | |
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/[email protected]
Signed-off-by: Oscar Salvador <[email protected]>
Acked-by: Peter Xu <[email protected]>
Acked-by: Axel Rasmussen <[email protected]>
Cc: Liu Shixin <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
