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

XenSummit: Empty per-arch files


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Wed, 28 Jun 2023 12:32:39 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=4OIk/274qQ20YnMD/8rPK0rrt52xpMux86cXtadDmSo=; b=hN5xWAF/nvnVISPDC0JaDavLKSJo2kpa3nkQOGiPPHOJeIxyE87I2DqwhfcpwIbBaXz2UcA7iTazGXZBnteNunyn6npvYHFkJuFiGUz0SfMT/o3HCVZKP3QbAGtXskvV0+TJc6Lz6riC2qtx47p3wFI8gSyeimwVPv+/b0Gfk7zgd5fokSsQT3KuhaME6yW6iGsb22zBQi4a7G+4w5j65zWBJdbv95ru6Yg2X9cD1wMyEE4YTSBcPsP6UuCDbymVLYEI1U/bJASn7b8rqJJs7Xx6s32QlgM6MBDjEcBdpAAcYjIMWYEsyC0KAYYE+IRUv0lYRzUJQLLSh+K6XJuCNA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LUVdAmRUX22JWIGiiXL3ZEQA/FO3rCmgGtU8lPMBsLmzCU9XaDPlzXlCESrmhXG5GlNX5DVMTBuBf2Cb7SToYp7w4tDJ6uCJ4FjNfH2iKT0a7AsF4UEUy27iSpeh+2qnktNB5IFhiNyZLDinw99ZlSm0oPHtQ+rWFi6OYwO+FsR9UDRbcTfCvU4sIywMNL7ozYpSLEOuJwBIC8w7/29VCFmX/HebpUMmGGxhgNHzgadUyI6GOYpzVix52MUFxWfELncbjt8Kc9hn5jdLYSyumRtS9/bx0SPc1MjSUP85zzPtCrAk54bh7D6rWPBmzWd+3TkK2oG/0ucP6Z04NGtQIQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bobby Eshleman <bobbyeshleman@xxxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 28 Jun 2023 11:33:09 +0000
  • Ironport-data: A9a23:DAc2m68Xf4ywTRzQjkqfDrUDkX6TJUtcMsCJ2f8bNWPcYEJGY0x3n WUcW2GBP6uMamWmf992Otm/9hlUusTWn94yTFQ/qX88E34SpcT7XtnIdU2Y0wF+jCHgZBk+s 5hBMImowOQcFCK0SsKFa+C5xZVE/fjUAOG6UKicYXoZqTZMEE8JkQhkl/MynrlmiN24BxLlk d7pqojUNUTNNwRcawr40Ird7ks21BjOkGlA5AdmO6ob5AW2e0Q9V/rzG4ngdxMUfaEMdgKKb 76r5K20+Grf4yAsBruN+losWhRXKlJ6FVHmZkt+A8BOsDAbzsAB+v9T2M4nQVVWk120c+VZk 72hg3ASpTABZcUgkMxFO/VR/roX0aduoNcrKlDn2SCfItGvn9IBDJyCAWlvVbD09NqbDklhz PsROWszfiyjoOGz7u2lRrcrucYseZyD0IM34hmMzBn/JNN+HdXmfP+P4tVVmjAtm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V8Vmg/f4G7du2LqpfrwTi87Dc0pv/MTTjLpr3A4tNVL26 pRtljp/qZ/PFf7hSz40cPFThdwiyOP0DIfuN9WtWVWVb0FYrlLoeUkjTVoOaZFJjvz7LY8Gu 90APfd4+s+SyLsU1np+lZVhOaUdlAYNiu9biE5y7mo+gkTo0s89XIx4PY0uEwtnahNOaVs1q D6CeBTrZlrdPI/UI4VPpZzffeK
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

This wasn't a formal discussion point at XenSummit, but Oleksii pointed
out that it was still a problem, hence this thread.

As we take on more architectures, it becomes more and more important for
things to be handled in a mostly-common way.  With that comes quite a
lot of <xen/foo.h> including <asm/foo.h>, and the arch one being a stub
in simple cases.

It would be nice to get rid of the stub files; they're irritating to
deal with, both when refactoring and simply for the file bloat they create.

There are two options which come to mind.

1) Use __has_include().  This would be ideal, but would require us
bumping the minimum GCC version to 4.9.2 as a prerequisite.  I'm not
aware of any way to emulate the necessary behaviour on older toolchains.

2) Have a stub "architecture" which is always last on the include path. 
This would reduce the number of stub files from one set per arch, to
only one set.

Anything else that I've missed?

~Andrew



 


Rackspace

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