From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=U0R7FIITgMb6ckmR6ofbieQJ4T760aeqZdgamc4yeBk=; b=NS9j26yMPssdLNd0uhIV1gKcXK7Nx36xHOZLO83LKz54on7HF8zp/I5bOheJvQGPWS dXMiNUehdg01nNsasRjMbcwl5ojX/21lnJSZJtooeOUYJGHqMsrWQPV4dulAqEUWGt2V 2AB00xvCVnKmE+pLzhbbfyZHwX0pI06DJYAYfYuV8RnLt6qh9MDjy/zC3o20yAue7mvb IrSJOGd3iOxDY8M6x+RdbzGiPfI7K6B0Wg9kZc3pK394A3Xbt8ibEPAsy1Kpll4249hH zD3kXeePylNBQWn7fx3BO2CttO44Q6SlvGWbsE/fIzuswqoGOPqyXOLEn3GuynjIQRBN t0nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=U0R7FIITgMb6ckmR6ofbieQJ4T760aeqZdgamc4yeBk=; b=YXKHACk3/mxvq/1WTPLsKL3iwgn9q4AH60xcCzRa+OMd7fc1wdB0yqVy1enGfnDT36 W59dPDLOMVXjbbBM9fpvhJnMBgLwuMTVQcFVYpDGd8JbKi7d/XtJZeUq3IZ9cGyppvDK u1yRBShiSVE1lya/JmvDmaS5WGOd4fosaaxn0f/BFhSuPu4MMnWUxkq9WkPSalZ0n/3z rzqtDyCCv3fL1XlisDGOUHYagkUElRcxAc357PkvTDrl3FMcDJ44VVycpMCptF5uMV8l 9yRLtNTGs7eBnB1zEQbnyprZU5fQzH61+cmyKpZRU9+UV1XWLGJoFXVoweiFDw367BpC V9tg== X-Gm-Message-State: AEkoousu2RxqCr1qyZ33Pw25enzWB8Ju5vmoONpDSWU5qfut+60Qi4g0o1oQ4eWTRiLLngHF X-Received: by 10.28.63.21 with SMTP id m21mr21502335wma.77.1469461837167; Mon, 25 Jul 2016 08:50:37 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id d8sm28095857wmi.0.2016.07.25.08.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 08:50:36 -0700 (PDT) From: Thomas Monjalon To: Hiroyuki Mikita Cc: "Sanford, Robert" , dev@dpdk.org Date: Mon, 25 Jul 2016 17:50:35 +0200 Message-ID: <1501720.H1OGFuvQHQ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1468776950-32693-1-git-send-email-h.mikita89@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] timer: remove unnecessary timer add call X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 15:50:38 -0000 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