Optimizing context switches using PIE?

Position Independent Executables are capable of running in operating systems using a “flat” memory model. Would such a memory model simplify the context switches by reducing the MMU overhead? Most Posix operating systems use the MMU quite extensively but are not microkernels. I would think that the page table support would be greatly simplified unless I miss my guess. As long as we are only supporting 64-bit architectures, why not?

1 Like