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

Re: [Xen-devel] Elaboration of "Question about sharing spinlock_t among VMs in Xen"



>>> > One other thing you should be aware of: as soon as one of your guests
>>> > has only one vcpu it will drop the "lock" prefixes for updates of the
>>> > lock word. So there will be a chance of races just because one or both
>>> > guests are thinking no other cpu can access the lock word concurrently.
>>>
>>> Now that is an interesting point! I am indeed using 1 vcpu for each
>>> domain right now. Does it automatically drop lock if it detects one
>>> vcpu when booting? Or is this set at compile time? Shouldn't setting
>>
>> It does patching of the binary during bootup time.
>>
>> You can disable the patching by using noreplace-smp on Linux command line.
>
> Thanks a lot! I will give this a shot... I'm thinking I've covered the
> other bases so maybe this will finally make it work as expected!

Aha! Seems to work now! Thanks for all the useful feedback and quick responses!

Regards,
Dagaen Golomb
Ph.D Student, University of Pennsylvania

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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