> -Message d'origine-
> De?: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Envoy??: vendredi 20 d?cembre 2013 16:39
> ??: Fran?ois-Fr?d?ric Ozog
> Cc?: dev at dpdk.org
> Objet?: Re: [dpdk-dev] Bit spinlocks in DPDK
>
> Hello,
>
> 07/12
Hello,
07/12/2013 18:54, Fran?ois-Fr?d?ric Ozog :
> 1) If the critical section deals with weakly ordered loads then explicit
> fencing MUST be used: if not, out of order execution will just kill your
> idea of critical section.
[...]
> So use rte_mb() or rte_wmb() or rte_rmb() where appropriate. I
dev at dpdk.org
> > Objet?: Re: [dpdk-dev] Bit spinlocks in DPDK
> >
> > Hello,
> >
> > 07/12/2013 18:54, Fran?ois-Fr?d?ric Ozog :
> > > 1) If the critical section deals with weakly ordered loads then
> > > explicit fencing MUST be used: if not, out of o
07/12/2013 18:54, Fran?ois-Fr?d?ric Ozog :
> > De Thomas Monjalon
> > 06/12/2013 14:12, Pashupati Kumar :
> > > I am looking for spinlocks that use a single bit (bit 31) of a 32 bit
> > > word for locking. The rest of the bits in the word are left
> > > undisturbed. This enables more compact data
> -Message d'origine-
> De?: dev [mailto:dev-bounces at dpdk.org] De la part de Thomas Monjalon
> Envoy??: vendredi 6 d?cembre 2013 23:24
> ??: Pashupati Kumar
> Cc?: dev at dpdk.org
> Objet?: Re: [dpdk-dev] Bit spinlocks in DPDK
>
> 06/12/2013 14:12, Pashu
06/12/2013 14:12, Pashupati Kumar :
> From: Thomas Monjalon
> > 06/12/2013 13:04, Pashupati Kumar :
> > > We use bit spinlocks extensively to have compact data structures. Are
> > > there any plans for adding them to DPDK in some future release?
> >
> > Not sure to understand your request.
> > Ar
Hello,
06/12/2013 13:04, Pashupati Kumar :
> We use bit spinlocks extensively to have compact data structures. Are there
> any plans for adding them to DPDK in some future release?
Not sure to understand your request.
Are you looking for that?
http://dpdk.org/doc/api/rte__spinlock_8h.htm
> 06/12/2013 14:12, Pashupati Kumar :
> > From: Thomas Monjalon
> > > 06/12/2013 13:04, Pashupati Kumar :
> > > > We use bit spinlocks extensively to have compact data structures.
> > > > Are there any plans for adding them to DPDK in some future release?
> > >
> > > Not sure to understand your req
[mailto:thomas.monja...@6wind.com]
Sent: Friday, December 06, 2013 2:02 PM
To: Pashupati Kumar
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] Bit spinlocks in DPDK
Hello,
06/12/2013 13:04, Pashupati Kumar :
> We use bit spinlocks extensively to have compact data structures. Are
> there any pla
Hi,
We use bit spinlocks extensively to have compact data structures. Are there
any plans for adding them to DPDK in some future release?
Thanks
Pash
10 matches
Mail list logo