Lets say I have two processes, process A and process B
When the system is in Process A, CPU generates a virtual address let's say 0x800000. And the it switches to process B via context switch, the CPU also generates a same virtual address 0x800000. so if we write something to the page, how OS know it should be a page in Process B need to be modified rather than Process A?