Re: [dpdk-dev] [PATCH v2] eal/windows: fix deadlock when setting alarm

2020-11-03 Thread Thomas Monjalon
30/10/2020 20:25, Kadam, Pallavi: > On 10/30/2020 11:42 AM, Dmitry Kozlyuk wrote: > > Windows alarms are both armed and executed from the interrupt thread. > > rte_eal_alarm_set() dispatched alarm-arming code to that thread and > > waited for its completion via a spinlock. However, if called from a

Re: [dpdk-dev] [PATCH v2] eal/windows: fix deadlock when setting alarm

2020-10-30 Thread Kadam, Pallavi
On 10/30/2020 11:42 AM, Dmitry Kozlyuk wrote: Windows alarms are both armed and executed from the interrupt thread. rte_eal_alarm_set() dispatched alarm-arming code to that thread and waited for its completion via a spinlock. However, if called from alarm callback (i.e. from the interrupt threa

[dpdk-dev] [PATCH v2] eal/windows: fix deadlock when setting alarm

2020-10-30 Thread Dmitry Kozlyuk
Windows alarms are both armed and executed from the interrupt thread. rte_eal_alarm_set() dispatched alarm-arming code to that thread and waited for its completion via a spinlock. However, if called from alarm callback (i.e. from the interrupt thread), this caused a deadlock, because arming could n