Re: [PATCH] xen: core dom0 support

From: H. Peter Anvin
Date: Sun Mar 08 2009 - 18:12:12 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/