Re: [PATCH v2 2/4] KVM: introduce "xinterface" API for external interaction with guests

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gregory Haskins
Date: Wednesday, October 7, 2009 - 5:48 am

Avi Kivity wrote:

No


Yes.


Right, you were correct to say my barrier() suggestion was wrong.


IOW: David is right.  You need a cpu-barrier one way or the other.  We
can either allow ->release() to imply one (and probably document it that
way, like we did for slow-work), or we can be explicit.  I chose to be
explicit since it is kind of self-documenting, and there is no need to
be worried about performance since the release is slow-path.

OTOH: If you feel strongly about it, we can take it out, knowing that
most anything the properly invalidates the memory will likely include an
implicit barrier of some kind.

Kind Regards,
-Greg
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 0/4] KVM: xinterface, Gregory Haskins, (Fri Oct 2, 1:19 pm)
[PATCH v2 3/4] KVM: add io services to xinterface, Gregory Haskins, (Fri Oct 2, 1:19 pm)
[PATCH v2 4/4] KVM: add scatterlist support to xinterface, Gregory Haskins, (Fri Oct 2, 1:19 pm)
Re: [PATCH v2 2/4] KVM: introduce "xinterface" API for ext ..., Gregory Haskins, (Wed Oct 7, 5:48 am)