Re: [PATCH] [6/12] x86_64: Early segment setup for VT

From: H. Peter Anvin
Date: Thu Oct 11 2007 - 17:30:47 EST


Andi Kleen wrote:
From: Zachary Amsden <zach@xxxxxxxxxx>

VT is very picky about when it can enter execution.
Get all segments setup and get LDT and TR into valid state to allow
VT execution under VMware and KVM (untested).

This makes the boot decompression run under VT, which makes it several
orders of magnitude faster on 64-bit Intel hardware.

Before, I was seeing times up to a minute or more to decompress a 1.3MB kernel
on a very fast box.

Signed-off-by: Zachary Amsden <zach@xxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>


Makes a lot of sense to me.

-hpa
-
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/