[dpdk-dev] [PATCH] spinlock: fix atomic and out of order execution

2014-01-10 Thread François-Frédéric Ozog
: dev [mailto:dev-bounces at dpdk.org] De la part de Thomas Monjalon > Envoy??: samedi 21 d?cembre 2013 00:38 > ??: dev at dpdk.org > Objet?: [dpdk-dev] [PATCH] spinlock: fix atomic and out of order execution > > From: Damien Millescamps > > Add lock prefix before xchg instruct

[dpdk-dev] [PATCH] spinlock: fix atomic and out of order execution

2014-01-02 Thread Stephen Hemminger
On Sat, 21 Dec 2013 00:37:36 +0100 Thomas Monjalon wrote: > From: Damien Millescamps > > Add lock prefix before xchg instructions in order to be atomic > and flush speculative values to ensure effective execution order > (as an acquire barrier). > > MPLOCKED is a "lock" in multicore case. > >

[dpdk-dev] [PATCH] spinlock: fix atomic and out of order execution

2013-12-21 Thread Thomas Monjalon
From: Damien Millescamps Add lock prefix before xchg instructions in order to be atomic and flush speculative values to ensure effective execution order (as an acquire barrier). MPLOCKED is a "lock" in multicore case. Signed-off-by: Damien Millescamps Signed-off-by: Thomas Monjalon --- lib/l