From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix bug in x86 cmpset Date: Thu, 09 Feb 2017 17:53:54 +0100 Message-ID: <1919498.PKpEFfz702@xps13> References: <1475184293-18298-1-git-send-email-nikhil.rao@intel.com> <4122748.D2hJ4kS1ho@xps13> <2431986.cxPJYuksjQ@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Nikhil Rao , bruce.richardson@intel.com, Konstantin Ananyev Return-path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id E60B6FA66 for ; Thu, 9 Feb 2017 17:53:55 +0100 (CET) Received: by mail-wr0-f174.google.com with SMTP id i10so87939445wrb.0 for ; Thu, 09 Feb 2017 08:53:55 -0800 (PST) In-Reply-To: <2431986.cxPJYuksjQ@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-11-06 22:09, Thomas Monjalon: > 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. Should we close this bug?