From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix bug in x86 cmpset Date: Thu, 29 Sep 2016 18:34:58 +0200 Message-ID: <4122748.D2hJ4kS1ho@xps13> References: <1475184293-18298-1-git-send-email-nikhil.rao@intel.com> 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-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 810F93B5 for ; Thu, 29 Sep 2016 18:35:00 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id w72so37758624wmf.1 for ; Thu, 29 Sep 2016 09:35:00 -0700 (PDT) In-Reply-To: <1475184293-18298-1-git-send-email-nikhil.rao@intel.com> 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-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.