Thread (5 messages) 5 messages, 4 authors, 2018-09-11

Re: [Xen-devel] [PATCH v2] xen/balloon: add runtime control for scrubbing ballooned out pages

From: Jan Beulich <hidden>
Date: 2018-09-07 15:58:28
Also in: lkml

quoted hunk ↗ jump to hunk
quoted
quoted
On 07.09.18 at 17:31, [off-list ref] wrote:
--- a/drivers/xen/mem-reservation.c
+++ b/drivers/xen/mem-reservation.c
@@ -14,6 +14,14 @@
 
 #include <xen/interface/memory.h>
 #include <xen/mem-reservation.h>
+#include <linux/moduleparam.h>
+
+#ifdef CONFIG_XEN_SCRUB_PAGES_DEFAULT
+bool __read_mostly xen_scrub_pages = true;
+#else
+bool __read_mostly xen_scrub_pages = false;
+#endif
Use IS_ENABLED() here instead of the #ifdef?

Jan

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help