Managing Swap Areas

Linux is relatively flexible in its support for swap areas. As we have already explained, it is possible to manage several areas with different priorities, and these may be located both on local partitions and in files of a predefined size. Swap partitions can also be added and removed dynamically in an active system without the need for rebooting.

The technical differences between the various approaches are made as transparent as possible to userspace. The modular structure of the kernel also means that the algorithms associated with swapping can be of a generalized design where the differences between the approaches need only be addressed on the lower technical levels.

Continue reading here: Data Structures

Was this article helpful?

0 0