Home
last modified time | relevance | path

Searched hist:e3613bb8afc2a9474c9214d65c8326c5ac02135e (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dpgtable-bits.hdiff e3613bb8afc2a9474c9214d65c8326c5ac02135e Sun Dec 16 19:03:36 CET 2018 Stefan O'Rear <sorear2@gmail.com> riscv: Add pte bit to distinguish swap from invalid

Previously, invalid PTEs and swap PTEs had the same binary
representation, causing errors when attempting to unmap PROT_NONE
mappings, including implicit unmap on exit.

Typical error:

swap_info_get: Bad swap file entry 40000000007a9879
BUG: Bad page map in process a.out pte:3d4c3cc0 pmd:3e521401

Cc: stable@vger.kernel.org
Signed-off-by: Stefan O'Rear <sorear2@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
H A Dpgtable.hdiff e3613bb8afc2a9474c9214d65c8326c5ac02135e Sun Dec 16 19:03:36 CET 2018 Stefan O'Rear <sorear2@gmail.com> riscv: Add pte bit to distinguish swap from invalid

Previously, invalid PTEs and swap PTEs had the same binary
representation, causing errors when attempting to unmap PROT_NONE
mappings, including implicit unmap on exit.

Typical error:

swap_info_get: Bad swap file entry 40000000007a9879
BUG: Bad page map in process a.out pte:3d4c3cc0 pmd:3e521401

Cc: stable@vger.kernel.org
Signed-off-by: Stefan O'Rear <sorear2@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>