diff options
| author | Punit Agrawal <[email protected]> | 2017-06-08 18:25:26 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2017-06-12 16:04:28 +0100 |
| commit | f02ab08afbe76ee7b0b2a34a9970e7dd200d8b01 (patch) | |
| tree | 03640d83e1c6c1614ef4eafcb121641299896d24 /tools/lib/api/fs/tracing_path.c | |
| parent | 687644209a6e95576ea453977b26dbd6248cadda (diff) | |
arm64: hugetlb: Fix huge_pte_offset to return poisoned page table entries
When memory failure is enabled, a poisoned hugepage pte is marked as a
swap entry. huge_pte_offset() does not return the poisoned page table
entries when it encounters PUD/PMD hugepages.
This behaviour of huge_pte_offset() leads to error such as below when
munmap is called on poisoned hugepages.
[ 344.165544] mm/pgtable-generic.c:33: bad pmd 000000083af00074.
Fix huge_pte_offset() to return the poisoned pte which is then
appropriately handled by the generic layer code.
Signed-off-by: Punit Agrawal <[email protected]>
Acked-by: Steve Capper <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Cc: David Woods <[email protected]>
Tested-by: Manoj Iyer <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions