>You know next to sod all about computers in general ;-)
Shhh! Don't tell everyone or they'll be ripping what little is left of my code out of a certain *IX OS!
>Swapping is the act of moving unused, but still active, memory pages to disk. i.e. swapping is a feature of
>paging.
Wrong.
Traditionally, swapping refers to ancient memory management where the address space of a whole process would be swapped out to disk. Very easy to implement because it didn't need special hardware support.
Paging was the successor to swapping and refers to a method where individual memory pages are paged in and out to disk. Memory was split up into pages, usually 4KB, and real locations were referenced through a Page Table. The advantages of dispersed location and better granularity were often impacted by software overhead on systems without hardware MMU support. Paging space allocation and every increasing Page Table size were also problems.
Current paging is more correctly 'segmented' paging, but it's still known as 'Paging'.
|