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
: [PATCH 07/12] evtchn: cut short evtchn_reset()'s loop in the common > case > > 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

[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 mai