]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Propagate attribute changes during demotion.
authormarkj <markj@FreeBSD.org>
Tue, 16 Jul 2019 14:40:49 +0000 (14:40 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 16 Jul 2019 14:40:49 +0000 (14:40 +0000)
commit5f4e2bae6a5a83d57b4bf6854b2850ba7e1c0da4
tree3777a7e3e31a6a929e6ba984c0911df219767526
parentfd9aa0d194d7baf8940e48ee154880dbf9b0c6b1
Propagate attribute changes during demotion.

After r349117 and r349122, some mapping attribute changes do not trigger
superpage demotion. However, pmap_demote_l2() was not updated to ensure
that the replacement L3 entries carry any attribute changes that
occurred since promotion.

Reported and tested by: manu
Reviewed by: alc
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20965
sys/arm64/arm64/pmap.c