From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] Xen: Spread boot time page scrubbing across all available CPU's (v5) Date: Wed, 4 Jun 2014 09:52:45 -0400 Message-ID: <20140604135245.GB1678@phenom.dumpdata.com> References: <1401888576-30027-1-git-send-email-konrad.wilk@oracle.com> <1401888576-30027-2-git-send-email-konrad.wilk@oracle.com> <538F20B5.30701@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WsBcd-0005dA-6M for xen-devel@lists.xenproject.org; Wed, 04 Jun 2014 13:52:55 +0000 Content-Disposition: inline In-Reply-To: <538F20B5.30701@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: dario.faggioli@citrix.com, julien.grall@linaro.org, tim@xen.org, JBeulich@suse.com, xen-devel@lists.xenproject.org, Malcolm Crossley List-Id: xen-devel@lists.xenproject.org On Wed, Jun 04, 2014 at 02:35:49PM +0100, Andrew Cooper wrote: > On 04/06/14 14:29, Konrad Rzeszutek Wilk wrote: > > diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown > > index 514c7b2..39a67be 100644 > > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -198,6 +198,16 @@ Scrub free RAM during boot. This is a safety feature to prevent > > accidentally leaking sensitive VM data into other VMs if Xen crashes > > and reboots. > > > > +### bootscrub_chunk_ > > +> `= ` > > + > > +> Default: `128MB` > > The 'B' here is still erroneous. > > > printk("done.\n"); > > diff --git a/xen/include/asm-arm/numa.h b/xen/include/asm-arm/numa.h > > index cb8f2ba..2c019d7 100644 > > --- a/xen/include/asm-arm/numa.h > > +++ b/xen/include/asm-arm/numa.h > > @@ -12,6 +12,7 @@ static inline __attribute__((pure)) int phys_to_nid(paddr_t addr) > > > > /* XXX: implement NUMA support */ > > #define node_spanned_pages(nid) (total_pages) > > +#define node_start_pfn(nid) (frametable_base_mfn) > > What is this supposed to achieve? Make it scrub memory on ARM (which define a flat 1 NODE NUMA topology). Perhaps I am not understanding your question? > > ~Andrew > > > #define __node_distance(a, b) (20) > > > > #endif /* __ARCH_ARM_NUMA_H */ >