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

Re: [RFC PATCH] xen/memory: Introduce a hypercall to provide unallocated space


  • To: Oleksandr <olekstysh@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 5 Aug 2021 07:58:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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-SenderADCheck; bh=brHUOXPteZa0o94JxWdXszx2bP+GunU66cPjdyYJg/g=; b=jbGjLCJXejmMfvnIJUNetq5SWL0SHXTGlOO3l6ubzAFt8Z3AXe38k7yhQcoHvJJtO4dkyC5KB/VyW9vOsJMXSWMJjMrOeJtzVzFnW2P9xN+2VUkDT/UWJDOeOUkC1l9A0TeG0kVm42UOzhX8M4wD2OsrlqjpuGo158+m5Z694WywErsT7dCb4rOeljKAWv/J8LRas/C92JBI6uPdZKUH4zksESEh/KwnXsTFXkYJLp6OhQ2Tuh554JT5sp5NLlJkZ8juUYZYEa9zDwxJJm2aas5wIHE4FoZnSuaQgmwg25R2YYtjK4McvapZwplZdIk6h3/glltel7Kijzl2lSVQEA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c/bq7H3/XVJFnTCFui8sP8MYWohU/GCGix3bk9cxSvpz2EnvbJKZePMa0RATkoCTVvJB8b7EZ+CGpq9okGIOqxM84Do1mhbIRlING1e+E8Abykar83N4qyvQ1Ai8FDjkldPkbECLbnf978JKwKEEq/MvXS1ywfUPbnZ/i3TdtNGxox40QJP9RlocOsJyX+YYHckIB5msw1dBZlUVebTPG2csi4mEVOuOb9mFlYDze2GCqg1/S5Wwh12e+MoJPcYmwannPUYsyPbraAQeLxsCrVfRNXZWQYlhJcp5XlkBAVBWn8vvet4JQ9OYNCj8KGTUTmSZbl6za/wSEQXMNM1KnA==
  • Authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=suse.com;
  • Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Thu, 05 Aug 2021 05:58:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04.08.2021 21:18, Oleksandr wrote:
> On 03.08.21 15:53, Jan Beulich wrote:
>> On 30.07.2021 18:13, Oleksandr wrote:
>>> - Where that range should be located in guest address space, should that
>>> range be the same for all domains (how GUEST_GNTTAB_BASE(SIZE) for example)
>>> or it should be calculated based on actual guest_ram_base(size) for a
>>> particular domain?
>> The default size may well be fixed or amount-of-memory-dependent, but
>> I think there will need to be a way to enlarge the region for guests
>> with particular needs.
> Well, but why we couldn't just make a large chunk by default which would
> satisfy all guests, as it was mentioned earlier in this thread "as it 
> doesn't consume resource when not being used"
> to avoid an extra configuration option, etc?

Because experience tells me that no static upper limit will ever please
everyone.

Jan




 


Rackspace

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