From: Joe Perches <joe@perches.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Valentin Schneider <valentin.schneider@arm.com>,
Jason Yan <yanaijie@huawei.com>,
mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com,
vincent.guittot@linaro.org, dietmar.eggemann@arm.com,
bsegall@google.com, mgorman@suse.de,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched/fair: Return true,false in voluntary_active_balance()
Date: Thu, 07 May 2020 13:18:57 -0700 [thread overview]
Message-ID: <3d88023b2da9ead8669d4c180b6c11ebf536abe7.camel@perches.com> (raw)
In-Reply-To: <20200507154512.1065cba8@gandalf.local.home>
On Thu, 2020-05-07 at 15:45 -0400, Steven Rostedt wrote:
> On Thu, 07 May 2020 12:06:56 -0700
> Joe Perches <joe@perches.com> wrote:
>
> > People describe changes as a "fix" all the time for stuff
> > that isn't an actual fix for a logic defect but is instead
> > an update to a particular style preference.
> >
> > Then the "fix" word causes the patch to be rather uselessly
> > applied to stable trees by AUTOSEL.
> >
> > It's especially bad when the 'Fixes: <sha1> ("description")'
> > tag is also added.
> >
> > It's a difficult thing to regulate and I don't believe a
> > good mechanism would be possible to add to checkpatch or
> > coccinelle to help isolate these things.
> >
> > git diff -w sometimes helps, but that's not really a thing
> > that checkpatch could do.
> >
> > Any suggestions?
>
> I'm unfamiliar with how the coccinelle script is used, but I thought there
> was some discussion some time back to have checkpatch not produces the same
> kinds of warnings to code as it does to patches.
>
> A lot of useless updates were being submitted when people were running
> checkpatch on existing kernel code and producing warnings that are not
> worth "fixing", but something that new code should try to avoid.
checkpatch already has several blocks that look like
if (input_is_a_patch)
warn(...)
else if (input_is_a_file)
check(...)
where by default, check() is not output.
I've also suggested variations discouraging checkpatch
use on files outside of drivers/staging/ multiple times
https://lore.kernel.org/lkml/0753cae7829b98998ac3f5f9fcb52ba1f2475ee1.camel@perches.com/
next prev parent reply other threads:[~2020-05-07 20:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 11:06 Jason Yan
2020-05-07 11:17 ` Valentin Schneider
2020-05-07 17:28 ` Steven Rostedt
2020-05-07 17:30 ` Steven Rostedt
2020-05-07 17:52 ` Valentin Schneider
2020-05-07 17:55 ` Joe Perches
2020-05-07 18:45 ` Steven Rostedt
2020-05-07 19:06 ` Joe Perches
2020-05-07 19:45 ` Steven Rostedt
2020-05-07 20:18 ` Joe Perches [this message]
2020-05-08 8:16 ` Peter Zijlstra
2020-05-08 9:06 ` Rasmus Villemoes
2020-05-08 9:24 ` Julia Lawall
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=3d88023b2da9ead8669d4c180b6c11ebf536abe7.camel@perches.com \
--to=joe@perches.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=valentin.schneider@arm.com \
--cc=vincent.guittot@linaro.org \
--cc=yanaijie@huawei.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
all inboxes | Powered by JetHome®