From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 97B542A7 for ; Wed, 7 Mar 2018 15:06:37 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 06:06:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,436,1515484800"; d="scan'208";a="180667503" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.27.44]) ([10.255.27.44]) by orsmga004.jf.intel.com with ESMTP; 07 Mar 2018 06:06:34 -0800 To: Anatoly Burakov , dev@dpdk.org References: <53373b6d98cc54581eff8fecd277ebca077e589e.1519311106.git.anatoly.burakov@intel.com> From: "Tan, Jianfeng" Message-ID: Date: Wed, 7 Mar 2018 22:06:33 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 5/5] eal: fix race condition in IPC requests X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 14:06:38 -0000 On 3/2/2018 4:41 PM, Anatoly Burakov wrote: > Unlocking the action list before sending message and locking it > again aftterwards introduces a window where a response might Typo: afterwards > arrive before we have a chance to start waiting on a condition, > resulting in timeouts on valid messages. > > Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") > Cc: jianfeng.tan@intel.com > > Signed-off-by: Anatoly Burakov Acked-by: Jianfeng Tan Thank you for catching another bug :-)