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

Re: [PATCH v3 6/6] xen: retrieve reserved pages on populate_physmap


  • To: Penny Zheng <Penny.Zheng@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 5 May 2022 16:23:23 +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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZWuj8Kbs9RpkWZUyqB+n3G9WZ1g1mL6RXD6kY1HC/sw=; b=ZviE3uj1uYL00E9IaJkY0AOcUI5eQ1eoBcMa1oE/TW7Ekbgq2OpNQPPOrBQcP5iGYOkLdzFnJKw0kK0wmHnr8BOg+NoC9zCtdaeG2A7CmOI5YLx6Iz50rtAEBqHK9e3VoVq4ulZ7qiaSedYzlmdxH34e4cKAcaDxY/p89mokYVYBkgXrdJzDaqTuqL4oz09taLDxWI/cJ0ie0qXXdnRVlA10ogs8Z36sCv38h8s4xl5v7Hc176jwTfjoohsCig2d9Pgghz7OK5rlv3nN2gvM8SLifst4oWGPQWpjd3GAmcnNmq09ROQqg2htEhES881r9WICBmfLFPZMGBFmRNO0pA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UjV7hF0hYGaTLZJhQ7pDh4z4n9d26UKOUUtu16KoV89VvOCrPuXXf3h4ENUb3EsMbhRGNtezpxwMGE9i2xopAlRZEuKA2JvPBVeRTe8t80vShz/bvKSZUuPGmUPnxaxz41henNjrGYqRNZE7O9u2Ze7BQaCsbRVaVyj2rTdpXqB+pBvm3jdf1MFrNEM4lde1M6DjgMLLqtbi+vIQJgvM2w71HEvvxF5eCagMCepyJ5/ThG6MZKWXXfj62iyfa5tiM/qmpds3cFVyep5vPAWlo/fJKySyONkq2OpwdSkbeaY82sU8RtjsWc26BVJiQP+eSC1Qo7SnCqpWsyHn60GAsg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Wei Chen <Wei.Chen@xxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 05 May 2022 14:23:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.05.2022 15:44, Penny Zheng wrote:
> I misunderstand what you suggested here, I thought you were suggesting a way 
> of stub function
> which could bring some optimization.
> The reason I introduced free_staticmem_pages and acquire_reserved_page here 
> is that
> we now used them in common code, and if they are not defined(using stub) on 
> !CONFIG_STATIC_MEMORY,
> we will have " hidden symbol `xxx' isn't defined " compilation error.

This is what I've asked for clarification about: If such errors surface,
I'd like to understand why the respective call sites aren't DCE-ed by
the compiler.

Jan




 


Rackspace

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