[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


  • To: Rahul Singh <rahul.singh@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Thu, 1 Sep 2022 15:53:25 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lx3tJ9cpj9Ag3aU8VPbTK8ECXjkWWHeQ09wBQmrRHSI=; b=MsgNluJIU1dTuIWqAGZbpujmGGx9ZB3QU8DJUKt91PrLTZEY4RTFe/VKnLu8c/suGQI4oGJrIIi6tMjtoWz77sumSgpHw9kGd/WUswngi1fP5QEvWkfxAJ6Kr9NRfA5wWJ8sCdperJ+x1dmx4fFV9xLDhyqTsmVgOcIhxvmVyvy+DnQi6WF46cm+bFnhhovPZ1LLiTyW6SIS4Ce3CYuUCOJD58AvHaIATJKNsuwkifQkKv4IDpi17xmxhdgleXspsx9d8hgCQVxDmcmBMIOC89qgXIdWqtXkP5qUZ/T6+so78rSgfgJbrDMju5uKcm4INDCN7htfDVnh+fk3Q6/pBA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J8MJ86/FeVl114m7dcXVLhLkwWvMY4LKxeVOHfMnanvumXXgwxxp8diOVWQEW5Mok/hz7dgSa1Hp2TXd/YHN31oStSeoMfAabghEuSFYQ1mOjtxnGZWUDbz5l7Ea53lCkuYAvC0zvFmcfqEyZQCVps//vnm616bSNTYBc/ZHyahR9VE6tApkSIRioBucqz7pUk1MNhMadtrUBWEtQhCFSeG3QxNScSw6rjGqRqIpAQCn+7hVLD0tbrqKanUP4uTTgJsPCtevBkORJe+56vrtOdcs2aXcJhi3FafJkgukS9JsFCk43LAnqyNZZQqrvgHb2xKDICLL4jHAZoQ8sniR0g==
  • Cc: <bertrand.marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 01 Sep 2022 13:53:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Rahul,

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.

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

~Michal



 


Rackspace

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