|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Introduce 'bootscrub' boolean cmdline opt
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183987846 -3600
# Node ID 83fd4ad219cd321024c6b5f01b85464cd64faf2d
# Parent 5e8eb0cf2dafc5d0e990cbd5ba18342193f2f604
Introduce 'bootscrub' boolean cmdline option. Default on.
no-bootscrub will disable boot-time RAM scrubbing, speeding up boot
time significantly on big-memory systems.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/common/page_alloc.c | 9 +++++++++
1 files changed, 9 insertions(+)
diff -r 5e8eb0cf2daf -r 83fd4ad219cd xen/common/page_alloc.c
--- a/xen/common/page_alloc.c Mon Jul 09 14:29:53 2007 +0100
+++ b/xen/common/page_alloc.c Mon Jul 09 14:30:46 2007 +0100
@@ -46,6 +46,12 @@ string_param("badpage", opt_badpage);
string_param("badpage", opt_badpage);
/*
+ * no-bootscrub -> Free pages are not zeroed during boot.
+ */
+static int opt_bootscrub __initdata = 1;
+boolean_param("bootscrub", opt_bootscrub);
+
+/*
* Bit width of the DMA heap.
*/
static unsigned int dma_bitsize = CONFIG_DMA_BITSIZE;
@@ -623,6 +629,9 @@ void __init scrub_heap_pages(void)
{
void *p;
unsigned long mfn;
+
+ if ( !opt_bootscrub )
+ return;
printk("Scrubbing Free RAM: ");
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Introduce 'bootscrub' boolean cmdline option. Default on.,
Xen patchbot-unstable <=
|
|
|
|
|