summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2015-04-12 18:37:55 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2015-04-12 18:37:55 +0000
commit2319283cdb7317249a07e8732b8d8b8fb971acf5 (patch)
tree6d8d6fb72835846824861046cdbb44c16798dfb4 /sys/dev
parentd91f6149b68e83b07a138caf364b545255828b73 (diff)
Bring PAE code back to life, in a different form. This diff (via bluhm then
to deraadt, then myself) brings the PAE pmap on i386 (not touched in any significant way for years) closer to the current non-PAE pmap and allows us to take a big next step toward better i386 W^X in the kernel (similar to what we did a few months ago on amd64). Unlike the original PAE pmap, this diff will not be supporting > 4GB physical memory on i386 - this effort is specifically geared toward providing W^X (via NX) only. There still seems to be a bug removing certain pmap entries when PAE is enabled, so I'm leaving PAE mode disabled for the moment until we can figure out what is going on, but with this diff in the tree hopefully others can help. The pmap functions now operate through function pointers, due to the need to support both non-PAE and PAE forms. My unscientific testing showed less than 0.3% (a third of a percent) slowdown with this approach during a base build. Discussed for months with guenther, kettenis, and deraadt. ok kettenis@, deraadt@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions