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

2016-06-15 Thread Meng Xu
On Tue, Jun 14, 2016 at 12:01 PM, Andrew Cooper wrote: > > On 14/06/16 03:13, Meng Xu wrote: > > On Mon, Jun 13, 2016 at 6:54 PM, Andrew Cooper > > wrote: > >> On 13/06/2016 18:43, Meng Xu wrote: > >>> Hi, > >>> > >>> I have a quick question about using the Linux spin_lock() in Xen > >>> environm

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

2016-06-14 Thread Andrew Cooper
On 14/06/16 03:13, Meng Xu wrote: > On Mon, Jun 13, 2016 at 6:54 PM, Andrew Cooper > wrote: >> On 13/06/2016 18:43, Meng Xu wrote: >>> Hi, >>> >>> I have a quick question about using the Linux spin_lock() in Xen >>> environment to protect some host-wide shared (memory) resource among >>> VMs. >>>

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

2016-06-13 Thread Meng Xu
On Mon, Jun 13, 2016 at 6:54 PM, Andrew Cooper wrote: > On 13/06/2016 18:43, Meng Xu wrote: >> Hi, >> >> I have a quick question about using the Linux spin_lock() in Xen >> environment to protect some host-wide shared (memory) resource among >> VMs. >> >> *** The question is as follows *** >> Supp

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

2016-06-13 Thread Meng Xu
On Mon, Jun 13, 2016 at 5:17 PM, Boris Ostrovsky wrote: > On 06/13/2016 04:46 PM, Meng Xu wrote: >> On Mon, Jun 13, 2016 at 2:28 PM, Boris Ostrovsky >> wrote: >>> On 06/13/2016 01:43 PM, Meng Xu wrote: Hi, I have a quick question about using the Linux spin_lock() in Xen enviro

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

2016-06-13 Thread Andrew Cooper
On 13/06/2016 18:43, Meng Xu wrote: > Hi, > > I have a quick question about using the Linux spin_lock() in Xen > environment to protect some host-wide shared (memory) resource among > VMs. > > *** The question is as follows *** > Suppose I have two Linux VMs sharing the same spinlock_t lock (throug

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

2016-06-13 Thread Boris Ostrovsky
On 06/13/2016 04:46 PM, Meng Xu wrote: > On Mon, Jun 13, 2016 at 2:28 PM, Boris Ostrovsky > wrote: >> On 06/13/2016 01:43 PM, Meng Xu wrote: >>> Hi, >>> >>> I have a quick question about using the Linux spin_lock() in Xen >>> environment to protect some host-wide shared (memory) resource among >>>

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

2016-06-13 Thread Meng Xu
On Mon, Jun 13, 2016 at 2:28 PM, Boris Ostrovsky wrote: > On 06/13/2016 01:43 PM, Meng Xu wrote: >> Hi, >> >> I have a quick question about using the Linux spin_lock() in Xen >> environment to protect some host-wide shared (memory) resource among >> VMs. >> >> *** The question is as follows *** >>

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

2016-06-13 Thread Boris Ostrovsky
On 06/13/2016 01:43 PM, Meng Xu wrote: > Hi, > > I have a quick question about using the Linux spin_lock() in Xen > environment to protect some host-wide shared (memory) resource among > VMs. > > *** The question is as follows *** > Suppose I have two Linux VMs sharing the same spinlock_t lock (thr