|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/public: partially revert commit 7c7f7e8fba01
On 07.02.22 11:46, Jan Beulich wrote: On 07.02.2022 11:36, Juergen Gross wrote:Commit 7c7f7e8fba01 changed xen/include/public/memory.h in an incompatible way. Unfortunately the changed parts were already in use in the Linux kernel, so an update of the header in the kernel would result in a build breakage. Even when removing its usage from the kernel the used flag bit should be marked as reserved in order to avoid to give it a different semantic in the future. Do a partial revert of said commit in order to enable the kernel to take an updated version of memory.h.I don't think it should be a partial revert, and as said on irc I'm of the opinion that ... The design of that feature was flawed from the beginning, as it was used in the kernel right away. So I think the initial revert was the effective start of the problem.
The kernel could be changed to no longer use that #define before updating the header from Xen, but are we really sure there are no other users, too? I'm fine doing it that way, but I think I should spell out the consequences of that decision. Btw., if the field was to become OUT-only again, I think you'd also need to revert the change to xen/common/compat/memory.c. At least to not leave a trap for someone to later fall into. Okay, if you like that better. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |