Reworking page-table traversal
Reworking page-table traversal
Posted May 8, 2018 23:53 UTC (Tue) by luto (subscriber, #39314)In reply to: Reworking page-table traversal by willy
Parent article: Reworking page-table traversal
Intel, if you ever revamp the page table format again, here are some feature requests:
- Separate R, W, and X bits.
- Separate page table roots for the top and bottom halves of the address space. Or, even better, separate user-mode and kernel-mode page tables.
- At least one extra address space accessible with prefixes or special instructions. For example, having the stack live in a separate address space accessible only with PUSH, POP, and prefixed memory operands would be awesome.
(Hmm. There are already mostly-useless CS, SS, DS, ES, FS, and GS prefixes. Make each one refer to a separate address space. Make ES, FS, and GS be usable only at CPL0, and make CPL0 default to the ES space and CPL > 0 default to CS.)
