Stephen Tweedie and all the others will explain better than I will, but
anyway: the swap cache allows *clean* pages to be in swap and memory at
the same time.
Without the swap cache, when we wanted to evict a *clean* page, we'd
have to write it to the swap file. With the cache, it may be present in
the swap file already and we just discard it from memory.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/