Revision 0eb98f1588c2cc7a79816d84ab18a55d254f481c authored by Miaohe Lin on 12 January 2021, 23:49:24 UTC, committed by Linus Torvalds on 13 January 2021, 02:12:54 UTC
The huge page size is encoded for VM_FAULT_HWPOISON errors only.  So if
we return VM_FAULT_HWPOISON, huge page size would just be ignored.

Link: https://lkml.kernel.org/r/20210107123449.38481-1-linmiaohe@huawei.com
Fixes: aa50d3a7aa81 ("Encode huge page size for VM_FAULT_HWPOISON errors")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f555bef
History
File Mode Size
Kconfig -rw-r--r-- 1005 bytes
async_pf.c -rw-r--r-- 5.3 KB
async_pf.h -rw-r--r-- 518 bytes
coalesced_mmio.c -rw-r--r-- 4.5 KB
coalesced_mmio.h -rw-r--r-- 884 bytes
dirty_ring.c -rw-r--r-- 4.4 KB
eventfd.c -rw-r--r-- 22.4 KB
irqchip.c -rw-r--r-- 5.6 KB
kvm_main.c -rw-r--r-- 122.3 KB
vfio.c -rw-r--r-- 8.8 KB
vfio.h -rw-r--r-- 289 bytes

back to top