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

Re: [PATCH] x86: calculate number of synthetic feature and bug enumerators


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 2 Feb 2026 15:56:41 +0000
  • 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=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=968dbr1XUuSyPSRG6x/faQDLjnkW3VzCzRi361l1uek=; b=Fv20PyMl+5IpVghS1tUfVtqtK7aB8bMD94mg+I9Uj21cM5ZuBnTvGnHlSn/JGBynzAZOT2Zkf06pW21CqzFT/eM1iRkLlvD4NdEyP1ggPhvT5EDiatNYJB0VRNzMwFTPfPTXMqDFQWm0lvnM/NfqnwzbG1rxGkJJbFMuSXKxyMG3lZgqEOufw5vDQleTwLTdA6riwNsLDOypU3AVlgBykFPukIQ92u8JutGzp30m1e19abL/D4OuO2Gg8La/RHJr1fmTHh8rGhAchQu782/n7wkay+ehcMGPca8ZpheYUfMk14zh4JEUhW2f0i/CDnb6itm000YWYaa7CzcVOaRUmg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EWHbFxOySekXKRHWNhqxF4gQdSltzWdDIH4RXcz+D9Id+gcGNrdfqZcO+4/c6cGx0FKGwXUHBj2NuaDX1HluhXFezaSc4JLYmaCuLCUYehEr8qZvQx1pnB/R+6thDoPr96fMuz0CeduhleU6Xtbly0HSt5whZByNMr1c8ih3dfeptRx32TjQG6NPqHUsvleicX9GAfL7UIFYgq+cWt7eJkAaiYjn6VBXXqcJK/dse1pgUbsU2mo3Pag2R0yy3jw0f8klFbKtUIdFGxghkvWhL44Mo6WSaDBZNzNkdBAODUOf7WH6yrzSG3XJA1MGWwZwPksbE01wQvsJJN341hTc+Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 02 Feb 2026 16:01:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 19/01/2026 3:30 pm, Jan Beulich wrote:
> Rather than spelling out their amounts (requiring updates when multiples
> of 32 are crossed), introduce a sentinel each and calculate the two
> numbers from those.
>
> No difference in generated code, albeit debug info size grows quite a bit.

Presumably because of the substantial increase in preprocessed output?

>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> This is an alternative to "x86: guard synthetic feature and bug
> enumerators", bulding upon the expectation that when adding to the end of
> either list people will notice the sentinel and not forget to update it.

The extra preprocessing overhead is not ideal, but it's certainly
preferable to the first version.

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

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