freebsd-dev/sys/riscv
Jessica Clarke 4a23504908 riscv: Fix pmap_kextract racing with concurrent superpage promotion/demotion
This repeats amd64's cfcbf8c6fd (r180498) and i386's cf3508519c
(r202894) but for riscv; pmap_kextract must be lock-free and so it can
race with superpage promotion and demotion, thus the L2 entry must only
be loaded once to avoid using inconsistent state.

PR:	250866
Reviewed by:	markj, mhorne
Tested by:	David Gilbert <dgilbert@daveg.ca>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31253
2021-07-22 20:02:14 +01:00
..
conf riscv: Include spibus and spigen in GENERIC 2021-07-21 06:46:09 +01:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
riscv riscv: Fix pmap_kextract racing with concurrent superpage promotion/demotion 2021-07-22 20:02:14 +01:00
sifive sifive_uart: Fix input character dropping in ddb and at a mountroot prompt 2021-07-21 02:51:25 +01:00