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

Re: [PATCH v7] xen/arm: Check for Static Heap feature when freeing resources


  • To: Luca Fancellu <luca.fancellu@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 17 Dec 2024 10:31:21 +0100
  • 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 (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BJRfT8BvLOk2erNy0m/3q3H1UEdmEsNq2KmBaYzdSTs=; b=Rsz5r3WKQcIPTAglrdiBZIzlfVNMT9pP4XvuLcmCVAw3hC+OExDZ3NB02qSIxEtBy/yxMGk4vKdj4QLKeXTAYcIxzFfv1kfBdS9KmvK/bR1vgt1ZNDYEJtHRKI71yWBtf19wRlNjdNeDCKCoQKzwYejcZdfqzrdCpfhDdIAPfUoJmuHyMOo77P0M7RztscbvycAo9We7OxhSLqmfWH5AkE4BDNre2Od2N+az1zBnH4Ot6w7AF3t3JV45izzb/k2KawP/DmRHpT+pX97VQUiGP3iICgrwjfNO1f23ZmhpF1Y1fYoGdAdbHjXiBnVa8YEUCFLX2A/ewyy0qQZauhk3Gg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QSldh6xWqpev9MOsFX18W5vG3cnjo3Uidzse+lsZjdK1W4MqCqBtu/BlqCj9GODmZbuep5YCgYuY4J/cKtlfucLYuR2rnD4lRxSplBrmH7giDUZD/+ahLamUAhC3WNRvdjqLRTZ8IoWcRs6P/d6NOk5bw3TUfizuEE+CAWdGA1vmz4vqQXatwVmam61Yca0Rij6T7FH+UeUe+j/Y0LJlqnNP7m0w6NI9TlXVz2guAvcbmb4uz05E1RxRmlBv7Zat0+Cp/9bVK9L9hbJsB/8uC+vLnQhtIoVxXovmUcvkfWwhj4rbtsYxMWVrNpkTLwtqIYv3fBrcuUHlqGlQT8edGw==
  • Cc: Penny Zheng <Penny.Zheng@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>
  • Delivery-date: Tue, 17 Dec 2024 09:31:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 13/12/2024 11:50, Luca Fancellu wrote:
> 
> 
> From: Penny Zheng <Penny.Zheng@xxxxxxx>
> 
> If the Xen heap is statically configured in Device Tree, its size is
> definite, so only the defined memory shall be given to the boot
> allocator. Have a check where init_domheap_pages() is called
> which takes into account if static heap feature is used.
> 
> Extract static_heap flag from init data bootinfo, as it will be needed
> after destroying the init data section, rename it to using_static_heap
> and use it to tell whether the Xen static heap feature is enabled.
> 
> Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>
> Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
I committed the patch. Thanks.

~Michal




 


Rackspace

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