From: "H. Peter Anvin" Subject: Re: [PATCH] xen: core dom0 support Date: Sun, 08 Mar 2009 15:08:25 -0700 Message-ID: <49B441D9.4010004@zytor.com> References: <1235786365-17744-1-git-send-email-jeremy@goop.org> <20090227212812.26d02f34.akpm@linux-foundation.org> <20090228084254.GA29342@elte.hu> <49A907DD.6010408@goop.org> <20090302120859.GB29015@elte.hu> <49B23907.8030103@goop.org> <20090308110150.GA19151@elte.hu> <49B43F1D.2000400@zytor.com> <20090308220609.GA23447@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090308220609.GA23447@elte.hu> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar Cc: Jeremy Fitzhardinge , Andrew Morton , the arch/x86 maintainers , Linux Kernel Mailing List , Xen-devel List-Id: xen-devel@lists.xenproject.org Ingo Molnar wrote: > > Since it's the same kernel image i think the only truly reliable > method would be to reboot between _different_ kernel images: > same instructions but randomly re-align variables both in terms > of absolute address and in terms of relative position to each > other. Plus randomize bootmem allocs and never-gets-freed-really > boot-time allocations. > > Really hard to do i think ... > Ouch, yeah. On the other hand, the numbers made sense to me, so I don't see why there is any reason to distrust them. They show a 5% overhead with pv_ops enabled, reduced to a 2% overhead with the changed. That is more or less what would match my intuition from seeing the code. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.