5 ms·
5-Level Paging and 5-Level EPT [pdf]
- amluto 10y agoPrepare for a new set of exploits affecting every major OS except Linux [1] involving SYSRET to a non-canonical address. [1] Linux may get a free pass because I'm going to insist on a specific test case for this issue.
- bogomipz 10y ago>"Prepare for a new set of exploits affecting every major OS except Linux [1] involving SYSRET to a non-canonical address" Can you elaborate?
- amluto 10y agoHere's a good writeup of the original bug: https://fail0verflow.com/blog/2012/cve-2012-0217-intel-sysret-freebsd.html https://fail0verflow.com/blog/2012/cve-2012-0217-intel-sysre... With the VA width changing, all the fixes for that and related bugs will need to be updated.
- bogomipz 10y agoOh interesting, thanks for the link.
- yuhong 10y agoI wonder if Intel would be willing to change the behaviour to be the same as AMD.
- deleted 10y ago[deleted]
- jws 10y agoI wonder who asked for this? While 640k might not be enough for everyone, 256 terabytes of directly addressable memory seems, suffient to requirements.
- amluto 10y agoBut 256 terabytes of disk might not be enough and, if you want to address your disk like it's RAM, you need more address space.
- twotwotwo 10y agoYeah, I had thought in terms of fancy new kinds of NVRAM, but mmap'ing lots of existing storage (or a mix) is a legit use case sooner.
- jvreeland 10y agoHPE and Intel are both working on (and I'm sure others want) huge piles of NVM. This is a probably just step into getting there. https://lwn.net/Articles/655437/ https://lwn.net/Articles/655437/
- twotwotwo 10y agoOne reading of this is that Intel wants some future arch to be able to address huge amounts of NVRAM as if it were RAM.
- chiph 10y agoDo you mean like the single-level store that is used by the AS/400 (iSeries) machines? https://en.wikipedia.org/wiki/Single-level_store https://en.wikipedia.org/wiki/Single-level_store
- ChuckMcM 10y agoOf course they do. If their X-Point stuff (or something like it) ever ships, they will want to put a couple or three terabytes of NVmemory on the otherside of the frontside bus. If you can do that you can enable some really amazing systems architectures. Things like a web search engine that consumes less than a 100W when it isn't serving a request because it can 'wake from sleep' and answer a query in under 10mS. And it can reboot in just the few seconds needed to change out the RAM parts of memory and pick up the giant data structure with the web index already loaded.
- rdmsr 10y agoFun fact: physical addresses will still have at most 52 bits, despite linear address space having up to 57.
- ChuckMcM 10y agoAnd that is a huge improvement from the old 40 bit limit, and then the 42 bit limit. In fact it is over 1000x better than the 52 bit limit :-)
- Symmetry 10y agoFor garbage collectors and other things you really want a randomly selected number to only infrequently be a valid address.
- tedunangst 10y agoHow often do garbage collectors look at physical addresses?
- Symmetry 10y ago... You're right, physical address bits are totally irrelevant and I was confused.
- bogomipz 10y agoI'm guessing this is tradeoff of practical vs possible?
- bogomipz 10y agoThe third paragraph of the first page states: "Virtual-machine monitors (VMMs) use the virtual-machine extensions (VMX) to support guest software operating in a virtual machine. VMX transitions are control flow transfers between the VMM and guest software" Can anyone explain what "control flow transfers" are? Is this just referring to a per VM context of a core's control path? Kind of context switch of sorts to to another VM?
- ctcherry 10y ago~144 petabytes 128 pebibytes