Re: [PATCH] x86: Use entire page for the per-cpu GDT only if paravirt-enabled

From: Andy Lutomirski
Date: Tue Sep 29 2015 - 14:22:35 EST


On Tue, Sep 29, 2015 at 11:18 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> SGDT would be easy to use, and it is logical that it is faster since it reads an internal register. SIDT does too but unlike the GDT has a secondary limit (it can never be larger than 4096 bytes) and so all limits in the range 4095-65535 are exactly equivalent.
>

Using the IDT limit would have been a great ideal if Intel hadn't
decided to clobber it on every VM exit.

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