What is Paging in memory management?
- by Fasih Khatib
I was just reading Operating System Principles by Silberschatz et al when I came across paging in memory management.I'm slightly confused about it.
It states that Physical Memory(I assume it's RAM) is divided into frames, and logical memory is divided into pages. CPU generates logical addresses containing page number and an offset. This page number is used to retrieve the frame number from a page table which gives the base address
so the physical address is calculated as base+offset.
My question is:
is the page table maintained for every process?
I logically think that the answer would be yes as every process will need to map its own pages to frames. I may be wrong. Please clarify.
Also:
paging and segmentation(where 'holes' are created in memory) are two totally different techniques that are not used in combination. Correct?