Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-22 Thread Jürgen Groß
On 18.11.20 14:19, Jan Beulich wrote: On 09.11.2020 17:38, Juergen Gross wrote: Currently the lock for a single event channel needs to be taken with interrupts off, which causes deadlocks in some cases. Rework the per event channel lock to be non-blocking for the case of sending an event and re

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-18 Thread Jan Beulich
On 09.11.2020 17:38, Juergen Gross wrote: > Currently the lock for a single event channel needs to be taken with > interrupts off, which causes deadlocks in some cases. > > Rework the per event channel lock to be non-blocking for the case of > sending an event and removing the need for disabling i

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-10 Thread Jan Beulich
On 10.11.2020 10:47, Julien Grall wrote: > Hi, > > On 10/11/2020 07:39, Jan Beulich wrote: >> On 09.11.2020 18:46, Julien Grall wrote: >>> Hi, >>> >>> On 09/11/2020 16:48, Jan Beulich wrote: On 09.11.2020 17:38, Juergen Gross wrote: > Currently the lock for a single event channel needs to

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-10 Thread Julien Grall
Hi, On 10/11/2020 07:39, Jan Beulich wrote: On 09.11.2020 18:46, Julien Grall wrote: Hi, On 09/11/2020 16:48, Jan Beulich wrote: On 09.11.2020 17:38, Juergen Gross wrote: Currently the lock for a single event channel needs to be taken with interrupts off, which causes deadlocks in some cases

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-09 Thread Jan Beulich
On 09.11.2020 18:46, Julien Grall wrote: > Hi, > > On 09/11/2020 16:48, Jan Beulich wrote: >> On 09.11.2020 17:38, Juergen Gross wrote: >>> Currently the lock for a single event channel needs to be taken with >>> interrupts off, which causes deadlocks in some cases. >>> >>> Rework the per event ch

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-09 Thread Jürgen Groß
On 09.11.20 18:46, Julien Grall wrote: Hi, On 09/11/2020 16:48, Jan Beulich wrote: On 09.11.2020 17:38, Juergen Gross wrote: Currently the lock for a single event channel needs to be taken with interrupts off, which causes deadlocks in some cases. Rework the per event channel lock to be non-b

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-09 Thread Julien Grall
Hi, On 09/11/2020 16:48, Jan Beulich wrote: On 09.11.2020 17:38, Juergen Gross wrote: Currently the lock for a single event channel needs to be taken with interrupts off, which causes deadlocks in some cases. Rework the per event channel lock to be non-blocking for the case of sending an event

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-09 Thread Julien Grall
Hi Juergen, On 09/11/2020 16:38, Juergen Gross wrote: Currently the lock for a single event channel needs to be taken with interrupts off, which causes deadlocks in some cases. Rework the per event channel lock to be non-blocking for the case of sending an event and removing the need for disabl

Re: [PATCH v6 2/3] xen/evtchn: rework per event channel lock

2020-11-09 Thread Jan Beulich
On 09.11.2020 17:38, Juergen Gross wrote: > Currently the lock for a single event channel needs to be taken with > interrupts off, which causes deadlocks in some cases. > > Rework the per event channel lock to be non-blocking for the case of > sending an event and removing the need for disabling i