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

Re: [Multiple reverts] [RFC PATCH] build: include/compat: figure out which other compat headers are needed


  • To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 12 Jan 2023 11:04:23 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=QgD9SrKU0oo0baPtu3i+s2mTRlx/++FDvuMpUVol4ro=; b=IewZvXYDF5GVWq3k8p0dQf3ysQdAvAjpC+S5Rpp9WG/oLBt7c0zT+tTM+dlVngd0Uk5bMRyaLWw2tA85vSWiDTc96YIbD0P1ARhIqkHxvbdVEFT+aVkBISqapKKV+XnQg0se63+Ap1E6AJHbB9KKgw64kdkyaeQkZtMLyq7mSE1aBkJqX8Fhu0iZQ7yTMoauuoVMZtdJy99Wup8eU7xzQoyIO8acllsXpFohCsxExiwXVxfGk3+EqjBq7cJk6pyRZt2qzeCiDbNRtrf8JMHTvZzxnCmzfob2Wx2X2P6AjmGCaaw8sTUQi4x3kuBlR4hhusKyYhnUs89VV8kQBqPhZg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EqR63RmIp6gVTn3ktjENM1dhrnlCeFRojk6W10Q2TQkY/e6nwPHuQAHhQJZkCQvdCK+PDbEBNz0qUuyLFVaQaI9kL8tM+dwT/eQj4JPiZACp55eKz5sAbUJfmXso6+dVBb4cO3UlpddEdPU8wWImlXxx31q30no5iexlVgyyRiOvwLVafb+qBL8W9e/VjJrN08qI+MagvyqoonkX7NQMuGPuZAz3ii1TF45q9/zoNPhNvGPoA+bPtcnWbqJuS60da4zM94UfliwkCPuvYwm0Kilem3zw1dxoX2imNunf515RvL2SkijTXkArolJq0mHLUefoHZDrJVXbRxHM4MJn8w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 12 Jan 2023 10:04:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 12.01.2023 10:27, Anthony PERARD wrote:
> On Thu, Jan 12, 2023 at 08:46:23AM +0100, Jan Beulich wrote:
>> On 11.01.2023 23:29, Andrew Cooper wrote:
>>> The real hvm_op.h legitimately includes the real trace.h, therefore the
>>> compat hvm_op.h legitimately includes the compat trace.h too.  But
>>> generation of compat trace.h was made asymmetric because of 2c8fabb223.
>>>
>>> In hindsight, that's a public ABI breakage.  The current configuration
>>> of this build of the hypervisor has no legitimate bearing on the headers
>>> needing to be installed to /usr/include/xen.
>>>
>>> Or put another way, it is a breakage to require Xen to have
>>> CONFIG_COMPAT+CONFIG_TRACEBUFFER enabled in the build simply to get the
>>> public API headers generated properly.
>>
>> There are no public API headers which are generated. The compat headers
>> are generate solely for Xen's internal purposes (and hence there's also
>> no public ABI breakage). Since generation is slow, avoiding to generate
>> ones not needed during the build is helpful.
> 
> If only we could do the generation faster:
>     
> https://lore.kernel.org/xen-devel/20220614162248.40278-5-anthony.perard@xxxxxxxxxx/
>     patch which takes care of the slower part of the generation (slower
>     at least for some compat headers).

Right, and I still have this in my folder waiting for a review (by someone
knowing Perl better than e.g. I do). Maybe you want to put on the agenda
of today's community call an item to see whether we can nominate someone
with enough Perl knowledge?

Jan



 


Rackspace

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