[Devel] [PATCH VZ9] hide unused field in thread_info
Vasily Averin
vvs at openvz.org
Sat Jun 15 11:33:26 MSK 2024
Alexey,
looks like you forgot to attach the patch.
Thank you,
Vasily Averin
On 6/12/24 21:32, Alexey Kuznetsov wrote:
> RHEL added this unused field by an unknown reason, apparently
> brainlessy backporting some patch from mainstream.
>
> It looks just as harmless waste of memory, but it is worse,
> as tools like drgn interpret its presence as indicator that kernel
> works according to rules of that mainstream kernel that
> patch was borrowed from. The result - drgn becomes useless.
>
> It is unreasonable to fix drgn as it will break it for
> correct kernels. We could delete this unused field. But for now
> it seems more clever to keep struct binary compatible,
> only with the field renamed.
>
> Signed-off-by: Alexey Kuznetsov <kuznet at acronis.com>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
More information about the Devel
mailing list