From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] timer: fix break list when timer_cb reset running timer Date: Mon, 25 Jul 2016 17:53:15 +0200 Message-ID: <3638020.ZGq2RF5tEM@xps13> References: <1468778880-25515-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 67BD52C10 for ; Mon, 25 Jul 2016 17:53:17 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id q128so140480258wma.1 for ; Mon, 25 Jul 2016 08:53:17 -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" > >When timer_cb resets another running timer on the same lcore, > >the list of expired timers is chained to the pending-list. > >This commit prevents a running timer from being reset > >by not its own timer_cb. > > > >Signed-off-by: Hiroyuki Mikita > > Acked-by: Robert Sanford > > I tested the three timer patches with app/test timer_autotest and > timer_racecond_autotest, and additional private tests. Applied, thanks