how does an operating system creates paging scheme in primary memory ?
All multitasking OS have the feature of virtual memory. In "virtual" memory the memory is basically divided into some segments.Whenever necessary the data in hard disk inside the segment is transferred into primary memory. Now our program must be able to fit into that segment.So our program is divided into pages. And when necessary the corresponding page is transferred to primary memory. Every page will have an address. Also there is a page table that shows the actual address of the page.Page tables are used to translate the virtual addresses seen by the application into physical addresses used by the hardware to process instructions; such hardware that handles this specific translation is often known as the memory management unit. The minimum size of every page is 4K
Join our real-time social learning platform and learn together with your friends!