mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Boian Bonev <bbonev@devuan.org>
Cc: linux-kernel@vger.kernel.org,
	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>
Subject: Re: Bug 220102 - struct taskstats breaks backward compatibility since version 15
Date: Fri, 9 May 2025 14:17:27 -0700	[thread overview]
Message-ID: <20250509141727.19b616d1c4a549d01656e5dd@linux-foundation.org> (raw)
In-Reply-To: <5c176101cd5fd8e629b18380bf7678ea6c6a5d63.camel@devuan.org>

On Fri, 09 May 2025 21:35:59 +0300 Boian Bonev <bbonev@devuan.org> wrote:

> 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.

Yikes.  Yes, we did change the versioning but such an incompatibility
seems undesirable and unnecessarily disruptive.

> 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.

Yes, please send along the patch.  Include the suitable Fixes: and we
can backport this into the affected -stable kernels.

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


  reply	other threads:[~2025-05-09 21:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-09 18:35 Boian Bonev
2025-05-09 21:17 ` Andrew Morton [this message]
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=20250509141727.19b616d1c4a549d01656e5dd@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=bbonev@devuan.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®