diff options
author | Dan Magenheimer <dan.magenheimer@oracle.com> | 2011-06-17 17:06:20 -0400 |
---|---|---|
committer | Dan Magenheimer <dan.magenheimer@oracle.com> | 2011-06-17 17:06:20 -0400 |
commit | afec6e04922d0c8c7e244be2e544bac5e7e36294 (patch) | |
tree | 45bb22e18e87b6a618a12c39426cb4914f446d15 /drivers/xen/Kconfig | |
parent | 55922c9d1b84b89cb946c777fddccb3247e7df2c (diff) |
xen: prepare tmem shim to handle frontswap
Provide the shim code for frontswap for Xen tmem even if the
frontswap patchset is not present yet. (The egg is before
the chicken.)
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Reviewed-by: Konrad Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/Kconfig')
-rw-r--r-- | drivers/xen/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index a59638b37c1a..be8732c32185 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -105,4 +105,11 @@ config SWIOTLB_XEN | |||
105 | depends on PCI | 105 | depends on PCI |
106 | select SWIOTLB | 106 | select SWIOTLB |
107 | 107 | ||
108 | config XEN_TMEM | ||
109 | bool | ||
110 | default y if (CLEANCACHE || FRONTSWAP) | ||
111 | help | ||
112 | Shim to interface in-kernel Transcendent Memory hooks | ||
113 | (e.g. cleancache and frontswap) to Xen tmem hypercalls. | ||
114 | |||
108 | endmenu | 115 | endmenu |