xen: make it possible to disable XEN_TMEM
RFC PATCH 1/1 xen: make it possible to disable XEN_TMEM
XEN_TMEM config option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon which can itself be disabled so it makes sense to make it possible to disable XEN_TMEM too. In theory, both these options could be unified under the XEN_SELFBALLOONING but other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enabling XEN_SELFBALLOONING.
---
- I don't know much about tmem and its users thus RFC.
--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/Kconfig +1 -1
@@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) help
Signature · 1 line
2.7.4
Quoted 3 lines · Vitaly Kuznetsov
XEN_TMEMconfig option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon which
And if CONFIG_XEN=y .
Quoted 1 line
can itself be disabled so it makes sense to make it possible to disable
During boot-time with arguments.
Quoted 4 lines
XEN_TMEMtoo. In theory, both these options could be unified under theXEN_SELFBALLOONINGbut other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enablingXEN_SELFBALLOONING.
I think going the route of XEN_SELFBALLOONING may be better.
Quoted 29 lines
Signed-off-by Vitaly Kuznetsov <[email protected]>---
- I don't know much about tmem and its users thus RFC.--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/Kconfig +1
-1@@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) helpSignature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 3 lines · Vitaly Kuznetsov
XEN_TMEMconfig option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon which
And if CONFIG_XEN=y .
Quoted 1 line
can itself be disabled so it makes sense to make it possible to disable
During boot-time with arguments.
Quoted 4 lines
XEN_TMEMtoo. In theory, both these options could be unified under theXEN_SELFBALLOONINGbut other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enablingXEN_SELFBALLOONING.
I think going the route of XEN_SELFBALLOONING may be better.
Quoted 29 lines
Signed-off-by Vitaly Kuznetsov <[email protected]>---
- I don't know much about tmem and its users thus RFC.--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/Kconfig +1
-1@@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) helpSignature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Vitaly Kuznetsov
XEN_TMEMconfig option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon whichAnd if
CONFIG_XEN=y.
Yes, of course)
Quoted 3 lines
Quoted 1 line
can itself be disabled so it makes sense to make it possible to disable
During boot-time with arguments.
I see, I rather meant we need a way to disable building the module, not just loading it.
Quoted 6 lines
Quoted 4 lines
XEN_TMEMtoo. In theory, both these options could be unified under theXEN_SELFBALLOONINGbut other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enablingXEN_SELFBALLOONING.I think going the route of
XEN_SELFBALLOONINGmay be better.
Ok, if you say so)
Quoted 29 lines
Quoted 29 lines
Signed-off-by Vitaly Kuznetsov <[email protected]>---
- I don't know much about tmem and its users thus RFC.--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/Kconfig +1
-1@@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) helpSignature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Signature · 6 lines
Vitaly _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Vitaly Kuznetsov
XEN_TMEMconfig option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon whichAnd if
CONFIG_XEN=y.
Yes, of course)
Quoted 3 lines
Quoted 1 line
can itself be disabled so it makes sense to make it possible to disable
During boot-time with arguments.
I see, I rather meant we need a way to disable building the module, not just loading it.
Quoted 6 lines
Quoted 4 lines
XEN_TMEMtoo. In theory, both these options could be unified under theXEN_SELFBALLOONINGbut other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enablingXEN_SELFBALLOONING.I think going the route of
XEN_SELFBALLOONINGmay be better.
Ok, if you say so)
Quoted 29 lines
Quoted 29 lines
Signed-off-by Vitaly Kuznetsov <[email protected]>---
- I don't know much about tmem and its users thus RFC.--- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/xen/Kconfig +1
-1@@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) helpSignature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Signature · 1 line
Vitaly