X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2FKconfig;h=82fed4eb2b6fe39cfd0476afe46e9589e02b386f;hb=9800ee6f50a3b94181d4df57542b9379e331decb;hp=b2176374b98e5e678ec93acda28cc0891d1c3717;hpb=47e1993d32d4e0f9524c2147576468fe11e87b5f;p=~andy%2Flinux diff --git a/mm/Kconfig b/mm/Kconfig index b2176374b98..82fed4eb2b6 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -389,3 +389,20 @@ config CLEANCACHE in a negligible performance hit. If unsure, say Y to enable cleancache + +config FRONTSWAP + bool "Enable frontswap to cache swap pages if tmem is present" + depends on SWAP + default n + help + Frontswap is so named because it can be thought of as the opposite + of a "backing" store for a swap device. The data is stored into + "transcendent memory", memory that is not directly accessible or + addressable by the kernel and is of unknown and possibly + time-varying size. When space in transcendent memory is available, + a significant swap I/O reduction may be achieved. When none is + available, all frontswap calls are reduced to a single pointer- + compare-against-NULL resulting in a negligible performance hit + and swap data is stored as normal on the matching swap device. + + If unsure, say Y to enable frontswap.