[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 3/7] xen/evtchn: restrict the maximum number of evtchn supported for domUs



Hi,

On 01/09/2022 14:53, Michal Orzel wrote:
On 01/09/2022 11:13, Rahul Singh wrote:

Restrict the maximum number of evtchn supported for domUs to avoid
allocating a large amount of memory in Xen.

Set the default value of max_evtchn_port to 1023. The value of 1023
should be sufficient for domUs guests because on ARM we don't bind
physical interrupts to event channels. The only use of the evtchn port
is inter-domain communications.
Following the previous discussion, I think the only missing piece is
an explanation that 1023 was chose to follow the default behavior of libxl.

+1. The current explanation only justify why we haven't added a device-tree property to change the default value.


Apart from that:
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

Cheers,

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.