mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Bug 220102 - struct taskstats breaks backward compatibility since version 15
@ 2025-05-09 18:35 Boian Bonev
  2025-05-09 21:17 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Boian Bonev @ 2025-05-09 18:35 UTC (permalink / raw)
  To: linux-kernel
  Cc: Balbir Singh, Yang Yang, Wang Yaxin, Kun Jiang, xu xin, Andrew Morton

Hello!

Since version 15 (TASKSTATS_VERSION=15) the new layout of the structure
adds fields in the middle of the structure, rendering all old software
incompatible with newer kernels and software compiled against the new
kernel headers incompatible with older kernels.

I think that change has to be reverted and the added fields moved to
the end of the structure. Also bumping the version to 16 after the
change is a good idea in order for the userspace software to be able to
distinguish the different formats.

https://bugzilla.kernel.org/show_bug.cgi?id=220102

With best regards,
b.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-13  0:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-09 18:35 Bug 220102 - struct taskstats breaks backward compatibility since version 15 Boian Bonev
2025-05-09 21:17 ` Andrew Morton
2025-05-10 11:45   ` Boian Bonev
2025-05-10 20:23     ` Andrew Morton
2025-05-10 22:03       ` Boian Bonev
2025-05-13  0:58         ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®