Re: [PATCH 0/3] Remove interrupt stack table usage from x86_64 kernel

From: Andi Kleen
Date: Sun Dec 28 2008 - 14:17:45 EST


> One fatal problem is enough -- I don't thing that patch can be made to
> work. Pity since it did clean up some stuff.

Not sure that was true anyways.

> I would like however to speed up kvm. Here's a plan:
>
> 1. Add per-cpu IDT

You don't need that, do you? Just two sets.

> 2. When switching to the guest TR (and other state), switch off IST use
> in the current IDT
> 3. When switching away from the kvm task, restore the IST entries
>
> per-cpu IDT would cost around 4K per cpu. I propose to make it
> kconfigurable, and have kvm select it.

If anything please make it runtime switchable and disable it on Intel
CPUs.

-Andi
--
ak@xxxxxxxxxxxxxxx
--
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/