From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by dpdk.org (Postfix) with ESMTP id 8D5DC374D for ; Mon, 25 Jul 2016 16:22:18 +0200 (CEST) Received: by mail-qk0-f182.google.com with SMTP id x1so162880829qkb.3 for ; Mon, 25 Jul 2016 07:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=V8vegsC6gANABlvtnPITiMH/AFldr3SQXmmLS/MkQF8=; b=XWEth9gdCoyyorsC47U0PqB+7v6MQ59A3IXGBX6UoOEbz1WCOUhy1cSp5oPkZioBq/ srfw6Gt3Dy0KXbtvddfXDN/3spdn0+L1Gts7RrZunfATmtG2O2n+77vQJrzj+nCXohUg TKN9lrdbp5XTcv3oKLMhNIvyVmr4tpHM1z1m2KRgJ7x6Bc3Z59PMHakI3PVnW0Yb+53p Rye+lNeslc8cXKZQ2u4wY1A4BXLSrEsYNOOkNwKTQZxNybuGTP04E4YR85ihMzLuGbvi RRIzl+pDtMcHC81yEDbm5oBNJod7+bj/Zf+8+LdvuEHYMt9ddwAJKh50koSVpQlWBHyX aJ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=V8vegsC6gANABlvtnPITiMH/AFldr3SQXmmLS/MkQF8=; b=ZnNCNhOZbbhvzjsS358+ymvTz0u5/f2zAodE54ODuryaEeLRcOlXoT59iTqJbn4ysX 7Sjo6v8g54MID4ZQAFTPZYkxf2tuRmuTLEJk8B9evhBp008LYcgPp861sH3yMNWutlm/ rJJzjlnAPwIFVi3apyjvB/eQcGvJtD/4s54e4/v9KYZIhJtsydv+ruxBbgI593mWqfAd x97Jums+cjQjPJZLJBUC0mS+h2aBTl6cBpuPtFjNIoVmuRC0k0XXVEDVui4xax6/CTgx C0wes4YJ7QCRsLoJT8HjQbLVWA88RyC8ZfaHljeZqYGm3zQYnutNp516pSNxQanFcZp7 JmHw== X-Gm-Message-State: AEkoouuzaNTruA56Ixb8rBYg2Y1jokX7Evvx2VCspfOTR6DCx1GE5IuudvmePyyi1wO7iJAW6ePmyeTIQ4mjqA== X-Received: by 10.129.131.214 with SMTP id t205mr16278585ywf.157.1469456538005; Mon, 25 Jul 2016 07:22:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.36.87 with HTTP; Mon, 25 Jul 2016 07:21:58 -0700 (PDT) In-Reply-To: References: <1468778880-25515-1-git-send-email-h.mikita89@gmail.com> From: Hiroyuki Mikita Date: Mon, 25 Jul 2016 23:21:58 +0900 Message-ID: To: "Sanford, Robert" Cc: Thomas Monjalon , "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 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 14:22:18 -0000 Hi Robert, My application had timers which reset another timer and sometimes did not work. Its profile by 'perf' command showed timer_add occupied 99.9% CPU. It seemed that an infinite loop occurred in rte_timer. I inspected timer codes and found that the main cause was a bug of the patch 3. In this process, I also found the other bugs. Regards, Hiroyuki