[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] visit shared info page need a lock?

On Thu, 2014-06-12 at 17:51 +0800, goingstudy wrote:
> Hello everyone, I am new to Xen.
> When I read Xen source code, I find that no matter Xen hypervisor or
> dom visit shared info page, no lock is used.
> I want to know why it is lockless.

It has been designed that way (i.e. not to need them) by using lock-free
algorithms and datastructures.

Locks between two entities (e.g. hypervisor and kernel) are inherently
rather tricky.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.