diff options
author | Dan Magenheimer <dan.magenheimer@oracle.com> | 2011-06-17 15:06:20 -0600 |
---|---|---|
committer | Dan Magenheimer <dan.magenheimer@oracle.com> | 2011-06-17 15:06:20 -0600 |
commit | afec6e04922d0c8c7e244be2e544bac5e7e36294 (patch) | |
tree | 45bb22e18e87b6a618a12c39426cb4914f446d15 /drivers/xen/Kconfig | |
parent | 55922c9d1b84b89cb946c777fddccb3247e7df2c (diff) | |
download | op-kernel-dev-afec6e04922d0c8c7e244be2e544bac5e7e36294.zip op-kernel-dev-afec6e04922d0c8c7e244be2e544bac5e7e36294.tar.gz |
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 a59638b3..be8732c 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -105,4 +105,11 @@ config SWIOTLB_XEN depends on PCI select SWIOTLB +config XEN_TMEM + bool + default y if (CLEANCACHE || FRONTSWAP) + help + Shim to interface in-kernel Transcendent Memory hooks + (e.g. cleancache and frontswap) to Xen tmem hypercalls. + endmenu |