Compiles, boots, passes simple tests. Passes a 4-hour test by Peter Holm.
A performance test suggested by alc (adding write protection to all the even-numbered pages in a gigabyte when the odd-numbers pages have it, produces these results in 12 trials. Without this patch:
time 0.23
time 0.25
time 0.23
time 0.22
time 0.23
time 0.25
time 0.23
time 0.23
time 0.24
time 0.23
time 0.23
time 0.22
With this patch:
time 0.21
time 0.21
time 0.21
time 0.21
time 0.24
time 0.20
time 0.20
time 0.28
time 0.20
time 0.21
time 0.21
time 0.20
Then I ran 12 more, and none of them were more than 0.22.
I've uploaded the test program that produced these results.
{F4914298}