3 ms·
You could still make an argument for that if you squint hard enough. The virtual memory is still reserved, and a transition to kernel mode still has user space
by monocasa 9y ago
You could still make an argument for that if you squint hard enough. The virtual memory is still reserved, and a transition to kernel mode still has user space mapped, and the kernel's view of memory as well.
- dsign 9y agoThanks for clarifying! Is whatever the kernel does now in transition to user space expensive because it's somehow proportional to the amount of actual memory that the kernel is using or has reserved?
- monocasa 9y agoNo, it's still more or less a O(1) operation, it's just expensive to fully flush TLBs.