From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] timer: remove unnecessary timer add call Date: Mon, 25 Jul 2016 17:50:35 +0200 Message-ID: <1501720.H1OGFuvQHQ@xps13> References: <1468776950-32693-1-git-send-email-h.mikita89@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Sanford, Robert" , dev@dpdk.org To: Hiroyuki Mikita Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 77CA92C29 for ; Mon, 25 Jul 2016 17:50:37 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id q128so140388219wma.1 for ; Mon, 25 Jul 2016 08:50:37 -0700 (PDT) In-Reply-To: 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-07-26 00:15, Hiroyuki Mikita: > Fixes: a4b7a5a45cf5 ("timer: fix race condition") > > > >>When timer_set_running_state() fails in rte_timer_manage(), > >>the failed timer is put back on pending-list. > >>In this case, another core tries to reset or stop the timer. > >>It does not need to be on pending-list > >> > >>Signed-off-by: Hiroyuki Mikita > > > > Acked-by: Robert Sanford Applied, thanks