Re: [PATCH][KVM][retry 3] Add support for Pause Filtering to AMDSVM

From: Avi Kivity
Date: Wed May 20 2009 - 05:05:16 EST


Peter Zijlstra wrote:



It's a fully virtualized guest. There's no way to get this without patching the guest kernel.

Yes there is.. virtualized monitor-wait stuff coupled with a
monitor-wait based spinlock implementation.

That only works if the guest uses monitor/mwait. Not all of the guests are under our control. I don't know whether Windows uses monitor/mwait. Further, we don't have timed exits on mwait like we do with pause.

I've also heard that monitor/mwait are very slow and only usable on idle loop stuff.

Once we go change silicon, you might as well do it right.

None of the major x86 vendors are under my control.

--
error compiling committee.c: too many arguments to function

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