January 2004
Intermediate to advanced
432 pages
11h 1m
English
In Figure 7-7, we see the relationship between the various kernel-resident data structures required to manage the swap space.

As we see in the diagram, the hambone is connected to the knee bone. Swap management starts with entries in the swap device table, swdevt, and the file system device table, fswdevt. Pointers from the two priority arrays are used to order the searching of the swap devices. A swap device is broken down into individual swap chunks. The kernel tunable maxswapchunks sets the systemwide number and determines the size of the swap table. Each swap chunk is ...
Read now
Unlock full access