UNIX Memory Management - Interview Questions and Answers


  1. In what way the protection fault handler concludes?
    After finishing the execution of the fault handler, it sets the modify and protection bits and clears the copy on write bit. It recalculates the process-priority and checks for signals.
  2. How the Kernel handles both the page stealer and the fault handler?
    The page stealer and the fault handler thrash because of the shortage of the memory. If the sum of the working sets of all processes is greater that the physical memory then the fault handler will usually sleep because it cannot allocate pages for a process. This results in the reduction of the system throughput because Kernel spends too much time in overhead, rearranging the memory in the frantic pace.

« Prev   1 2 3 4 5 6 7 8