What is Paging in memory management?

Posted by Fasih Khatib on Super User See other posts from Super User or by Fasih Khatib
Published on 2012-10-10T17:42:34Z Indexed on 2012/10/10 21:42 UTC
Read the original article Hit count: 292

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?
  • © Super User or respective owner

    Related posts about operating-systems

    Related posts about virtual-memory