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 code.
Differential D21027
Simplify handling of superpages in pmap_clear_modify() alc on Jul 22 2019, 3:19 PM. Authored by Tags None Referenced Files
Details 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 code.
Diff Detail
Event TimelineComment Actions I finished the full stress2 tests on amd64 without any issues. On i386 I ran into this problem, which seems unrelated to me. Unfortunately I did not get a dump as the debugger was looping. Comment Actions Thank you.
I agree that that problem seems unrelated. Comment Actions The i386 tests finished with one further problem and an incomplete report: https://people.freebsd.org/~pho/stress/log/alc011.txt Comment Actions hi,
as far as we understood, the issue I reported on that bug happens only if I use a particular hardware, but others may also be affected (not sure though). should some of you guys can drop a quick look on that PR would be awesome; I'm pretty much interested on getting a better picture of all that. Comment Actions The thread in that PR is quite long and hard to understand. Can you provide a brief summary? From comment 126 it sounds like you are able to trigger some ntpd problem when both r352517 and r352519 are applied, but not when either commit is reverted? |