linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Ingo Molnar <mingo@kernel.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	mingo@redhat.com, Borislav Petkov <bp@alien8.de>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: [PATCH 1/4] sched: make nr_running() return 32-bit
Date: Fri, 14 May 2021 14:52:18 +0200	[thread overview]
Message-ID: <87wns14gvx.ffs@nanos.tec.linutronix.de> (raw)
In-Reply-To: <YJz4TmZ7fmKFchRe@gmail.com>

Ingo,

On Thu, May 13 2021 at 11:58, Ingo Molnar wrote:
> * Thomas Gleixner <tglx@linutronix.de> wrote:
>
> You often won't see these effects in the 'size vmlinux' output, because 
> function alignment padding reserves usually hide 1-2 byte size improvements 
> in generated code.

I'm not that stupid. And I certainly looked where this comes from.

> More importantly, the maintenance benchmark in these cases is not whether a 
> change actively helps every architecture we care about - but whether the 
> change is a *disadvantage* for them - and it isn't here.

That's clearly documented in the changelogs of these patches, right?

> Changes that primarily benefit one common architecture, while not others, 
> are still eligible for upstream merging if they otherwise meet the quality 
> threshold and don't hurt the other architectures.

That has been proven by compile testing the relevant architectures as
documented in the changelog, right?

> TL;DR:
>
> This benefits from this series are small, but are far from 'useless churn', 
> unless we want to arbitrarily cut off technically valid contributions that 
> improve generated code, data structure size and code readability, submitted 
> by a long-time contributor who has contributed over 1,300 patches to the 
> kernel already, just because we don't think these add up a significant 
> enough benefit?
>
> No doubt the quality barrier must be and is higher for smaller changes - 
> but this series IMO passed that barrier.
>
> Anyway, I've Cc:-ed Linus and Greg, if you are advocating for some sort of 
> cut-off threshold for small but measurable improvements from long-time 
> contributors, it should probably be clearly specified & documented in 
> Documentation/SubmittingPatches ...

What I'm arguing about is already documented:

  Quantify optimizations and trade-offs.  If you claim improvements in
  performance, memory consumption, stack footprint, or binary size,
  include numbers that back them up.

That series fails to provide any of this and it does not matter whether
this comes from a long time contributor or from a newbie.

Long term contributors are not excempt from documented process. In fact
they should lead by example.

If you as a maintainer put different measures on newbies and long-time
contrinbutors then you pretty much have proven the point the UMN people
tried to make (in the wrong way).

Thanks,

        tglx

  parent reply	other threads:[~2021-05-14 12:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 20:02 [PATCH 1/4] sched: make nr_running() return 32-bit Alexey Dobriyan
2021-04-22 20:02 ` [PATCH 2/4] sched: make nr_iowait() return 32-bit value Alexey Dobriyan
2021-05-12 20:01   ` [tip: sched/core] sched: Make " tip-bot2 for Alexey Dobriyan
2021-04-22 20:02 ` [PATCH 3/4] sched: make nr_iowait_cpu() return 32-bit Alexey Dobriyan
2021-05-12 20:01   ` [tip: sched/core] sched: Make nr_iowait_cpu() return 32-bit value tip-bot2 for Alexey Dobriyan
2021-04-22 20:02 ` [PATCH 4/4] sched: make multiple runqueue task counters 32-bit Alexey Dobriyan
2021-05-12 19:36   ` Ingo Molnar
2021-05-12 20:01   ` [tip: sched/core] sched: Make " tip-bot2 for Alexey Dobriyan
2021-05-12 20:01 ` [tip: sched/core] sched: Make nr_running() return 32-bit value tip-bot2 for Alexey Dobriyan
2021-05-12 23:58 ` [PATCH 1/4] sched: make nr_running() return 32-bit Thomas Gleixner
2021-05-13  7:23   ` Alexey Dobriyan
2021-05-13  9:58   ` Ingo Molnar
2021-05-13 21:22     ` Alexey Dobriyan
2021-05-14 12:52     ` Thomas Gleixner [this message]
2021-05-14 18:18     ` Thomas Gleixner

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=87wns14gvx.ffs@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=adobriyan@gmail.com \
    --cc=bp@alien8.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /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).