Re: [PATCH 07/12] evtchn: cut short evtchn_reset()'s loop in the common case

2020-10-01 Thread Julien Grall
Hi, On 28/09/2020 12:00, Jan Beulich wrote: The general expectation is that there are only a few open ports left when a domain asks its event channel configuration to be reset. Similarly on average half a bucket worth of event channels can be expected to be inactive. Try to avoid iterating over

RE: [PATCH 07/12] evtchn: cut short evtchn_reset()'s loop in the common case

2020-09-29 Thread Paul Durrant
> -Original Message- > From: Xen-devel On Behalf Of Jan > Beulich > Sent: 28 September 2020 12:00 > To: xen-devel@lists.xenproject.org > Cc: Andrew Cooper ; George Dunlap > ; Ian > Jackson ; Julien Grall ; Wei Liu > ; Stefano Stabellini > > Subject

[PATCH 07/12] evtchn: cut short evtchn_reset()'s loop in the common case

2020-09-28 Thread Jan Beulich
The general expectation is that there are only a few open ports left when a domain asks its event channel configuration to be reset. Similarly on average half a bucket worth of event channels can be expected to be inactive. Try to avoid iterating over all channels, by utilizing usage data we're