When a program accesses an unmapped page, MMU notices that the page is not mapped, and then causes CPU to fall into the operating system. This trap is called page missing interrupt or page missing error. The operating system finds a rarely used page box and writes its memory to disk. Then it reads the pages to be accessed into the page box just recycled, modifies the mapping relationship, and restarts the instructions that cause the trap.