Machine-translated by Google. Questions are authored in English.
Top

Discussion

The page table is maintained by operating system for :

  • A.each thread
  • B.each process
  • C.each instruction
  • D.each address

Answer: B

The operating system keeps a page table for each process.

Each process has its own logical address space, so each needs its own mapping from page numbers to frame numbers. The page table's location is saved in the process control block, and on a context switch the operating system loads the new process's page table base register.

Threads of one process share its address space and therefore its page table. A table per instruction or per address would make no sense, since the page table itself is what maps addresses.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.