linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: xiaoming.wang@intel.com,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Mel Gorman <mgorman@suse.de>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] proc: move the adding option Ngid to the end of proc/PID/status
Date: Fri, 17 Apr 2015 11:12:59 -0400	[thread overview]
Message-ID: <20150417151259.GA16743@htj.duckdns.org> (raw)
In-Reply-To: <CACVxJT_bpNFUFTL9oZJiK2LEXL8wrjY3Q__tXd3jyZB=1-k9ig@mail.gmail.com>

On Fri, Apr 17, 2015 at 06:05:55PM +0300, Alexey Dobriyan wrote:
> Moving Ngid to the end of file minimizes risk of breakage.

Hmmm... how so?  The only reason for changing the position is because
there's this specific breakage.  The goal should be working around
that specific case while keeping the impact minimum on everyone else.
It doesn't matter whether the initial change was good or bad, the
kernel w/ the new layout is already out in the wild and it has been
out there for a while.  How is risking changing offsets on most of the
fields on those kernels a good idea?  Mimize the changes to work
around the specific case.

> Correctly written code doesn't care.
> Code which hardcodes layout won't notice.

Huh?  Code which hardcodes layout since 1.5 years ago will definitely
notice.

> It would be OK argument if gentlemen from Intel send "let's futureproof and
> move Ngid because someone might depend on exact position" patch.
> 
> Primum non nocere.

ajlkjaeligjlakd lakjeilgjal flekjfa.

-- 
tejun

  reply	other threads:[~2015-04-17 15:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 13:23 [PATCH] proc: move the adding option Ngid to the end of proc/PID/status Alexey Dobriyan
2015-04-17 14:26 ` Tejun Heo
2015-04-17 15:05   ` Alexey Dobriyan
2015-04-17 15:12     ` Tejun Heo [this message]
2015-04-21  8:19       ` Wang, Xiaoming
2015-04-21 14:00       ` Alexey Dobriyan
2015-04-21 15:11         ` Tejun Heo
2015-04-23 20:32           ` Alexey Dobriyan
2015-04-24 15:50             ` Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2015-04-17  2:13 Wang Xiaoming
2015-04-17  2:56 ` Tejun Heo
2015-04-17  3:15   ` Wang, Xiaoming
2015-04-17  3:26     ` Tejun Heo
2015-04-17  3:37       ` Wang, Xiaoming
2015-04-17  3:42         ` Tejun Heo
2015-04-17  5:36           ` Wang, Xiaoming
2015-04-21 15:19             ` Eric W. Biederman

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=20150417151259.GA16743@htj.duckdns.org \
    --to=tj@kernel.org \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=xiaoming.wang@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).