Memory management Interview questions


Total available count: 45
Subject - Operating System
Subsubject - Memory management

What is Expansion swap?

At the time when any process requires more memory than it is currently allocated, the Kernel performs Expansion swap. To do this Kernel reserves enough space in the swap device. Then the address translation mapping is adjusted for the new virtual address space but the physical memory is not allocated. At last Kernel swaps the process into the assigned space in the swap device.  Later when the Kernel swaps the process into the main memory this assigns memory according to the new address translation mapping.




Next 5 interview question(s)

1
What is Fork swap?
2
What are the entities that are swapped out of the main memory while swapping the process out of the main memory?
3
What do you mean by u-area (user area) or u-block?
4
Is the Process before and after the swap are the same? Give reason.
5
What are the events done by the Kernel after a process is being swapped out from the main memory?