Why is linear memory linked to paging?
Why is linear memory linked to paging?
Paging is a memory management scheme, in this scheme the operating system retrieves data from the secondary storage device to be used nu the main memory. The operating system retrieves data in the form of same size blocks called as pages.
Virtual memory is also a memory management technique which creates an abstraction of the memory space for the user such that the user thinks that he has large storage space available.
Now the advantage of virtual memory is that the program is able to use more memory than is conceptually available, and this working of virtual memory is possible because of paging
In the implementation of virtual memory the virtual address space is divided into contiguous memory blocks called as pages.
These managing of the pages or the mapping of the virtual address with the actual address starts with the page tables. The page tables are used to convert the virtual addresses seen by the application into the physical addresses that are actually used. In the page table, each entry has a flag with it which tells whether the corresponding page is in real memory or not. if the page is in real memory then the page table entry contains the real memory address
Step by step
Solved in 2 steps