[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Enable --gc-sections
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Tue, 9 Dec 2025 16:47:26 -0500
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org 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=6SJ58LU45zdDA8YS4eiI6xbsxRyKM1Ha3NQQHN6scAc=; b=OKGGfe7ymLJfjQFRMQoJn93C6JyEGUzGbiCX8nnYOD0ga4AMW5Mxx4sESyQLR/3k6mjDFfHmas8Ur99XHp6/ZMZWcfufZ1wVGrus/+Ckw4k+UAq97xGJX2DVXHxlCQ3G2qjakbYNwbthfT6qJyNKgzgyoHeDliQWm5k7vwhyCrT6tIDyJxz30gk30ktR39AwVWHJEXdPa1RDtDHfTF9qR/FaoO3oF21RHs4qfWwwxx9nn/gFo4gRusi3qudbVkPAl0unFZO3r+mA06tYAh/VzU23W3x6uruePQys9DZp1/d/Pkvv3AmjnFJeM6Y/xnh5ms0to6afvTuM4EoI7rpjYw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OdkRvLRwFDdL+aIddrVtPQVJE42FC6kW9eXnYGgWBP1JXoVMLYBtvnXMqAjNDD8zdOULSYpI21WDN1rqg8Mai+gY33eHwKeRLrZx2QghGkK+1kZ7w7iBH0DeaBLJOUd602KOmrfF+uIfo7ppdhmDnp31jHUcQFMy58ZDpFWof6ZYgvM6f0o3A0Bavl5GWVUmeVSnO5DRzmTJch10InW54gtDGdHk/rGkW1jRzyir7CHMwDOh+7kWZyHqZLe36L9JjPFy64jx56ieqQRt1p4Kz1qfVestSYi/DbjhZR0/NJ5CC/olMPgE880dmjymmlpz+P4l0lA9rUTUztPXKmWr2Q==
- Cc: Victor Lira <victorm.lira@xxxxxxx>, Jason Andryuk <jason.andryuk@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Julien Grall" <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Grygorii Strashko" <grygorii_strashko@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, "Connor Davis" <connojdavis@xxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
- Delivery-date: Tue, 09 Dec 2025 21:47:55 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
The first patch removes the scheduler duplication in the linker script.
The second patch adds CONFIG_GC_SECTIONS and makes it available for all
architectures.
Pipeline here:
https://gitlab.com/xen-project/people/jandryuk-amd/xen/-/pipelines/2205223331
--print-gc-sections is enabled, and ARM builds in particular show a good
bit of removal.
Jason Andryuk (2):
xen: Centralize scheduler linker definition
xen: Add CONFIG_GC_SECTIONS
xen/Makefile | 3 +++
xen/arch/arm/Makefile | 6 +++---
xen/arch/arm/xen.lds.S | 27 ++++++++++++---------------
xen/arch/ppc/Makefile | 6 +++---
xen/arch/ppc/xen.lds.S | 19 ++++++++-----------
xen/arch/riscv/Makefile | 6 +++---
xen/arch/riscv/xen.lds.S | 19 ++++++++-----------
xen/arch/x86/Makefile | 6 +++---
xen/arch/x86/xen.lds.S | 39 ++++++++++++++++++---------------------
xen/common/Kconfig | 9 +++++++++
xen/include/xen/xen.lds.h | 24 +++++++++++++++---------
11 files changed, 85 insertions(+), 79 deletions(-)
--
2.52.0
|