From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F1A18235 for ; Tue, 21 Nov 2017 14:25:14 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9D37B20A41; Tue, 21 Nov 2017 08:25:14 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=H9oyalMRa5Q0p9G0s cX8o43du+l0mqtOFxf6YXYSJ3k=; b=EH82xBDuhUOIteRLUJUO5TxRciYRhkAIc 9GLopVTdH858a/Ly8ktCtnACfXHfYxRTC44xmsiSsccz1YwjOiOVCdbYihxLTQbU Y0lLOkAluHwILsW7IKRieM+wba8Sikc2WLrDaq+DGHigQlcwKdoxcKe7/cOthVsc 6P1/FSnjyC52gDiWrTLF6/6zIAnANhgSRuyKbFIM93EpaGzAcmC+4bn1ZRzX24Li XL42PkMd/hLrC24BF8VJT03qoM56nzWelOtDcwyl38lLIbbu+MVjQ0d0Hk66qxkE tspZXGMRJFzUNzAfDAN9rkQ6mIK2jbpuLCdPPQQ6P7llyczzVtteg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=H9oyalMRa5Q0p9G0scX8o43du+l0mqtOFxf6YXYSJ3k=; b=rHGrbYlj NNlT6SLqpNPF8zEGJHP+oYKZF58EpH/1pTKWZYhn8p9ctyOAPbl4nV0fmpiItRd7 0OEhcdTRQszyAgVK1lPfSMsrPUTwYzjrJFCTekkwLe/DXMrsnT6xFbQIBmZ1oUrr U7WLd0KDMBUqwXKuEe8wr/x+zmFdFBbrbYMhiwsNwPTkg9ovC2eZZgRXq7J5h3nT bDlRA+MPEEysQsVRFzLzvOopCojQRBuxJYfucHNBk4t/xoPThqKIdyCTPT7YPi2H oOrU3XEEpntnlqG9ZUwW+vWh6AnAYwN4lTk5VwYoxTy9IbZgv8KTXhwq40Z0OqAz JqPGnPBkUcSMIw== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 2314124810; Tue, 21 Nov 2017 08:25:11 -0500 (EST) From: Yuanhan Liu To: Jerin Jacob Cc: dpdk stable Date: Tue, 21 Nov 2017 21:17:14 +0800 Message-Id: <1511270333-31002-92-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'timer: use 64-bit specific code on more platforms' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:25:15 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From de146b7000d625a8508ea87a662afe66da261ae4 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Sun, 13 Aug 2017 18:03:38 +0530 Subject: [PATCH] timer: use 64-bit specific code on more platforms [ upstream commit 1e36bf301bbfa79efe340faf07e8cdb968ae34bd ] 64bit load and store will be an atomic operation on all the 64bit processors. Change RTE_ARCH_X86_64 to RTE_ARCH_64 to reflect the case. Fixes: 9b15ba895b9f ("timer: use a skip list") Signed-off-by: Jerin Jacob --- lib/librte_timer/rte_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c index 5ee0840..f1f332d 100644 --- a/lib/librte_timer/rte_timer.c +++ b/lib/librte_timer/rte_timer.c @@ -525,7 +525,7 @@ void rte_timer_manage(void) return; cur_time = rte_get_timer_cycles(); -#ifdef RTE_ARCH_X86_64 +#ifdef RTE_ARCH_64 /* on 64-bit the value cached in the pending_head.expired will be * updated atomically, so we can consult that for a quick check here * outside the lock */ -- 2.7.4