Memory management Interview questions

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

What is a Map?

A Map is an Array, which contains the addresses of the free space in the swap device that are allocatable resources, and the number of the resource units available there.

This allows First-Fit allocation of contiguous blocks of a resource. Initially the Map contains one entry – address (block offset from the starting of the swap area) and the total number of resources.

Kernel treats each unit of Map as a group of disk blocks. On the allocation and freeing of the resources Kernel updates the Map for accurate information.

Next 4 interview question(s)

What is the main goal of the Memory Management?
What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management?
What is the difference between Swapping and Paging?

What is page fault? Its types?