mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boian Bonev <bbonev@devuan.org>
To: linux-kernel@vger.kernel.org
Cc: Balbir Singh <bsingharora@gmail.com>,
	Yang Yang <yang.yang29@zte.com.cn>,
	 Wang Yaxin <wang.yaxin@zte.com.cn>,
	Kun Jiang <jiang.kun2@zte.com.cn>, xu xin <xu.xin16@zte.com.cn>,
	 Andrew Morton <akpm@linux-foundation.org>
Subject: Bug 220102 - struct taskstats breaks backward compatibility since version 15
Date: Fri, 09 May 2025 21:35:59 +0300	[thread overview]
Message-ID: <5c176101cd5fd8e629b18380bf7678ea6c6a5d63.camel@devuan.org> (raw)

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.

             reply	other threads:[~2025-05-09 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-09 18:35 Boian Bonev [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c176101cd5fd8e629b18380bf7678ea6c6a5d63.camel@devuan.org \
    --to=bbonev@devuan.org \
    --cc=akpm@linux-foundation.org \
    --cc=bsingharora@gmail.com \
    --cc=jiang.kun2@zte.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wang.yaxin@zte.com.cn \
    --cc=xu.xin16@zte.com.cn \
    --cc=yang.yang29@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®