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 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) 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=wGRp+uK7Gc5lKIZ3fL0JE6qaqSE+F9jawmILbFdPTR4=; b=Ih6D8yCqqhBJZz/aRHiqfUcFpe0GAm++duTz6MPGkNcPTrURHllYtCUh7Lml9YPSWr GFk4XjkzYn9kbWTgqfZmAYQ1CZtIoRInDILvcqx8/MHqUBIyub3IdOlXDt0FEjokbv5v rL+Z15WLQTM0fHD0AicsaX1LmDOkcQgPnc9+OO4uSmIVs7TcB/Xo7g1XDYORYNbkJ8Hr T7hFTVu2NZDjDe/gneoKJ7+XaY37Xz+kpYQvXtfAdFxtJNBJAZjvYjZhI6leWd6RDMgi 6Gl7Y1tS3kgIMK/fyHsNAxf9wX6XfGony9Hg3XG7/G6dP1aKMWpA2AtY/NU4lTrhQS1D Y7Xw== 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=wGRp+uK7Gc5lKIZ3fL0JE6qaqSE+F9jawmILbFdPTR4=; b=hLc5lauZbeKB9KhoiPITnOpB2+Hk8aVCoexl47cj6NDF0/NtZjZ5SKkhp6o0/Ml+ZQ Vde214vai3i1b3pOD3zodqY5ECkpkR+tuku4FKjK8NjBSRRL5xUGbhLm0DTrqFG30TFc 31jNawChF6X0DSyq6cjj6uyLGBfTlfcOgFgKs09VVchV5bA0woiAAqO1jYNgiGPVd7EA v6giFckFCxA/F6Q66vrFCWsymSlDPtzuxF1Ga9oRPMVEb6H2euuTBNgl+QGDYxKhmE3y qVq9FZEoJV1xr5QRWUY6A7/rDS1e4KM+9eXBxf1r5YWCfv/5DIdBum4ADKjvo32cYE4e NA2A== X-Gm-Message-State: AEkoouvG6wQm3mE13wHa1Jc+ETvLeCDe6dnkMu5kbx2YxPZzGfxeNKPRjKdqSBB6kVG/61Q0 X-Received: by 10.194.142.78 with SMTP id ru14mr17902771wjb.41.1469461997202; Mon, 25 Jul 2016 08:53:17 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id q137sm28055603wmd.19.2016.07.25.08.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 08:53:16 -0700 (PDT) From: Thomas Monjalon To: Hiroyuki Mikita Cc: "Sanford, Robert" , dev@dpdk.org Date: Mon, 25 Jul 2016 17:53:15 +0200 Message-ID: <3638020.ZGq2RF5tEM@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1468778880-25515-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: fix break list when timer_cb reset running timer 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:53:17 -0000 > >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