[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/13] xen/arm: Avoid code duplication in check_reserved_regions_overlap
- To: Luca Fancellu <luca.fancellu@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Michal Orzel <michal.orzel@xxxxxxx>
- Date: Wed, 10 Apr 2024 09:40:39 +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 (0)
- 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=P0kKm5Cq8rOCKpE1++/tVU4awLhYuW2oT58PhMsRtFI=; b=m1rnQ3A69ocEPnoPSJzxkzYEkpj9nuyPPtLr72tJyqinmeylu/5T5MezDi1zK6FWjkkWBHdZloZzmuYhT+vQ/uldA1H2Kx2uo6SQvLVoSH8PLu+RvY96yMtO+GD783Ed2ugiGwfiK1xFN4mWa18ic4Umxr37os4TarrvvNPedIxj+O0d2s+zBHttHz75wlubZaV9NWpLAZbeNzIv9w/RmJjIy33/UbHZYHHz9jpJ+DrboBWxOSvM56wPpYp96p5lAqn2eU1ZwmiNocMmRA7JgI7zcqDqIEnEOQt05AXX/OeZzM8KW7R7jRt95mIOLbopIX9Up1a02QQ+XPMGdoeaig==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oCLLoXCwHdCOCDqlfnGaUTeNMYtBbXPat/G8BbRsymEx3t/OqzpijX5nM+ZAHsEXlLh7iTIudbgkVKg65Y9Z1I5W5FiTEA+J1S79qyjbw1v4HaIhhBeIHDbxuvNhSpRVWyVam2rCEHnTlS+cQh0LHEwJjfJ+RWyAYpLZ44Phh+jVUvX8XOFXc0e/auad9VNcJo2qDNAQf6LpMTS2bLsp0OYgkOaFF10GnfUGKslK400EJ76Ha58IOhxssRo/XWjo00RexNwcAA/VRcEIQiUggskw0JPjCaVFv6ZwIGF61YMfcKRHNkoLFoTP3QQAmvIiOAaHP+G/5ScyhKSzVvxo6w==
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Wed, 10 Apr 2024 07:40:56 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Luca,
On 09/04/2024 13:45, Luca Fancellu wrote:
>
>
> The function check_reserved_regions_overlap is calling
> 'meminfo_overlap_check' on the same type of structure, this code
> can be written in a way to avoid code duplication, so rework the
> function to do that.
>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|