WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Introduce 'bootscrub' boolean cmdline opt

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Introduce 'bootscrub' boolean cmdline option. Default on.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 09:52:35 -0700
Delivery-date: Mon, 09 Jul 2007 09:50:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=