Re: [PATCH 12/12] evtchn: convert domain event lock to an r/w one

2020-09-29 Thread Jan Beulich
On 28.09.2020 18:44, Roger Pau Monné wrote: > On Mon, Sep 28, 2020 at 01:02:43PM +0200, Jan Beulich wrote: >> Especially for the use in evtchn_move_pirqs() (called when moving a vCPU >> across pCPU-s) and the ones in EOI handling in PCI pass-through code, >> serializing perhaps an entire domain isn

Re: [PATCH 12/12] evtchn: convert domain event lock to an r/w one

2020-09-28 Thread Roger Pau Monné
On Mon, Sep 28, 2020 at 01:02:43PM +0200, Jan Beulich wrote: > Especially for the use in evtchn_move_pirqs() (called when moving a vCPU > across pCPU-s) and the ones in EOI handling in PCI pass-through code, > serializing perhaps an entire domain isn't helpful when no state (which > isn't e.g. furt

[PATCH 12/12] evtchn: convert domain event lock to an r/w one

2020-09-28 Thread Jan Beulich
Especially for the use in evtchn_move_pirqs() (called when moving a vCPU across pCPU-s) and the ones in EOI handling in PCI pass-through code, serializing perhaps an entire domain isn't helpful when no state (which isn't e.g. further protected by the per-channel lock) changes. Unfortunately this i