Files
linux/arch/riscv/include/asm
Stefan O'Rear e3613bb8af 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>
2019-02-11 15:24:45 -08:00
..
2018-10-31 12:13:47 -07:00
2018-01-07 15:14:39 -08:00
2018-05-07 07:15:41 +02:00
2019-01-07 08:22:39 -08:00
2018-10-22 17:03:37 -07:00
2018-10-22 17:02:23 -07:00
2019-01-07 08:22:39 -08:00
2019-01-07 08:22:39 -08:00
2019-01-07 08:22:41 -08:00