freebsd-dev/sys/riscv
Alan Cox 5d18382b72 Simplify the handling of superpages in pmap_clear_modify(). Specifically,
if a demotion succeeds, then all of the 4KB page mappings within the
superpage-sized region must be valid, so there is no point in testing the
validity of the 4KB page mapping that is going to be write protected.

Deindent the nearby code.

Reviewed by:	kib, markj
Tested by:	pho (amd64, i386)
X-MFC after:	r350004 (this change depends on arm64 dirty bit emulation)
Differential Revision:	https://reviews.freebsd.org/D21027
2019-07-25 22:02:55 +00:00
..
conf sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
include RISC-V: expose extension bits in AT_HWCAP 2019-06-11 00:55:54 +00:00
riscv Simplify the handling of superpages in pmap_clear_modify(). Specifically, 2019-07-25 22:02:55 +00:00