Thursday, September 25, 2008

Paging and Segmentation

Paging:
In computer operating systems that have their main memory divided into pages, paging (sometimes called swapping) is a transfer of pages between main memory and an auxiliary store, such as hard disk drive.[1] Paging is an important part of virtual memory implementation in most contemporary general-purpose operating systems, allowing them to use disk storage for data that does not fit into physical RAM. Paging is usually implemented as architecture-specific code built into the kernel of the operating system.

Segmentation:
Segmentation is one approach to memory management and protection in the operating system. It has been superseded by paging for most purposes, but much of the terminology of segmentation is still used, "segmentation fault" being an example. Some operating systems still have segmentation at some logical level although paging is used as the main memory management policy.

3 comments:

umar said...

Nice lines hyma

Nitesh Saxena said...

can u explain 2 level paging?

Joy Deep said...

Hi..Nice blog about paging and segmentation.Thanks for sharing.
Operating Systems Windows XP