[dpdk-stable] [PATCH 2/3] eal/windows: fix interrupt thread handle leakage
Kadam, Pallavi
pallavi.kadam at intel.com
Thu May 13 03:15:28 CEST 2021
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 at dpdk.org
>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
Works with i40e.
Tested-by: Pallavi Kadam <pallavi.kadam at intel.com>
>
More information about the stable
mailing list