Re: [PATCH] x86: Use clflush() instead of wbinvd() wheneverpossible when changing mapping

From: Andi Kleen
Date: Fri Jul 24 2009 - 09:16:59 EST


> No. It was motivated by the assumption that wbinvd() is just bad:

Ok, got it now.

> Qoute:
>
> WBINVD is a very nasty operation. I was talking to some CPU people and they
> really recommended to get rid of it as far as possible. Stopping the CPU
> for msecs is just wrong and there are apparently even some theoretical live
> lock situations. - It is not interruptible in earlier VT versions and
> messes up real time in the hypervisor. Some people were doing KVM on rt
> kernels and had latency spikes from that.
>
>
> /Qoute
> (I believe you wrote that ?)

Yes. That's still true and that's one reason to not use it.

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