"each process has 4 gigabytes of virtual address space all to itself"
A process does indeed have all 4GB of VIRTUAL adress space to itself. unless I'm misunderstanding you.
A process does indeed have all 4GB of VIRTUAL adress space to itself. unless I'm misunderstanding you.
That way userspace-to-kernel switch does not require changing active page table (and also avoids switcharoo each time kernel needs to access userspace memory).