From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 59C17A0C46 for ; Thu, 13 May 2021 03:15:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49D64410FD; Thu, 13 May 2021 03:15:44 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 9A8594003F; Thu, 13 May 2021 03:15:41 +0200 (CEST) IronPort-SDR: Xpi5SN5DJXwcdgAHXoQNLxJzIA1lB53gofdzyNXP4BuRCs3UoytxR7BlYCWo9cm8/8J/VNUy5a exNZKih6szbA== X-IronPort-AV: E=McAfee;i="6200,9189,9982"; a="186974397" X-IronPort-AV: E=Sophos;i="5.82,295,1613462400"; d="scan'208";a="186974397" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2021 18:15:35 -0700 IronPort-SDR: JWNDEA6xX9JIP3bxxkr0eFC+adWTAMTUq5bm1G5XptbjJ1cq7q45J+65je7oNvvEHeAviD81GG STJCGPO2Tonw== X-IronPort-AV: E=Sophos;i="5.82,295,1613462400"; d="scan'208";a="392987282" Received: from pkadam-mobl1.amr.corp.intel.com (HELO [10.209.20.130]) ([10.209.20.130]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2021 18:15:33 -0700 To: Dmitry Kozlyuk , dev@dpdk.org Cc: stable@dpdk.org, Harman Kalra , Narcisa Ana Maria Vasile , Dmitry Malloy References: <20210502023333.30351-1-dmitry.kozliuk@gmail.com> <20210502023333.30351-2-dmitry.kozliuk@gmail.com> From: "Kadam, Pallavi" Message-ID: Date: Wed, 12 May 2021 18:15:28 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210502023333.30351-2-dmitry.kozliuk@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-stable] [PATCH 2/3] eal/windows: fix interrupt thread handle leakage X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 5/1/2021 7:33 PM, Dmitry Kozlyuk wrote: > Each time a work was scheduled in the interrupt thread, > usually an alarm, a handle was opened but not closed. > > Opening a handle is a system call, which harms alarm precision. > Instead of opening and closing a handle each time, open it > when interrupt thread starts and close it when the thread finishes. > > Fixes: 5c016fc0205a ("eal/windows: add interrupt thread skeleton") > Cc: stable@dpdk.org > > Signed-off-by: Dmitry Kozlyuk > --- Works with i40e. Tested-by: Pallavi Kadam >