From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix bug in x86 cmpset Date: Sun, 06 Nov 2016 22:09:07 +0100 Message-ID: <2431986.cxPJYuksjQ@xps13> References: <1475184293-18298-1-git-send-email-nikhil.rao@intel.com> <4122748.D2hJ4kS1ho@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Nikhil Rao Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id CE2AD558A for ; Sun, 6 Nov 2016 22:09:10 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id f82so84527775wmf.1 for ; Sun, 06 Nov 2016 13:09:10 -0800 (PST) In-Reply-To: <4122748.D2hJ4kS1ho@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-09-29 18:34, Thomas Monjalon: > 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. Please, we need a clear explanation of the bug, and an acknowledgement.