[dpdk-dev] [PATCH] eal: fix bug in x86 cmpset

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Sep 29 18:34:58 CEST 2016


2016-09-30 02:54, Nikhil Rao:
> The original code used movl instead of xchgl, this caused
> rte_atomic64_cmpset to use ebx as the lower dword of the source
> to cmpxchg8b instead of the lower dword of function argument "src".

Could you please start the explanation with a statement of
what is wrong from an user point of view?
It could help to understand how severe it is.


More information about the dev mailing list