From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
kyle@mcmartin.ca
Subject: Re: [GIT PULL] percpu for 2.6.31
Date: Fri, 19 Jun 2009 07:33:30 +0900 [thread overview]
Message-ID: <4A3AC0BA.4000407@kernel.org> (raw)
In-Reply-To: <alpine.LFD.2.01.0906181421460.16802@localhost.localdomain>
Hello, Linus.
Linus Torvalds wrote:
>
> On Thu, 18 Jun 2009, Tejun Heo wrote:
>> Please pull from percpu-for-linus git tree from:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-linus
>
> I'm very unhappy with this kind of crap.
>
> Has it been tested AT ALL? Apparently not.
>
> arch/x86/kernel/cpu/mcheck/mce.c:98: error: multiple storage classes in declaration specifiers
> arch/x86/kernel/cpu/mcheck/mce.c:98: error: non-static declaration of ‘per_cpu__mces_seen’ follows static declaration
> arch/x86/kernel/cpu/mcheck/mce.c:98: note: previous declaration of ‘per_cpu__mces_seen’ was here
> .. and tons of other similar errors ..
Oops, my apologies. I had them as floating series and apparently used
different base commit when applying them. I did grep run and full yes
build on the original quilt tree but didn't after quiltimport. Sorry.
> and it was apparently done on purpose, for no good reason. The bug with
> static per-cpu variables is only for some broken architectures.
Yes, for two of them s390 and alpha. Another route was to tell the
compiler to generate external references were to use weak attribute
which also required globally unique name. The first take of the
patchset used guard symbols to guarantee variable scope
(static/extern) and uniqueness while using weak attribute for the
actual percpu symbol. It worked but was a bit too complex. Consensus
(at least of the ones involved in the discussion) was limiting percpu
definitions to extern is an acceptable compromise.
> Even the _documentation_ uses "static DEFINE_PER_CPU(..)" for chissake!
Yeap, that was me going through grep output and thinking oh... I'll do
it later and then forget about it. Will update now.
> To make matters worse, this whole series was clearly rebased (or applied
> from some other queue) just _minutes_ before sending it to me. No wonder
> it had zero testing:
>
> - commit:
> Date: Thu Jun 18 16:22:05 2009 +0900
> - email:
> Date: Thu, 18 Jun 2009 17:07:16 +0900
>
> I'm not pulling it. Or rather, I pulled it, ended up doing other work,
> noticed the problems, and had to re-do my whole tree because I refuse to
> have sh*t like this in the kernel.
>
> And I'm not going to pull trees that get rebased like this with basically
> no testing before sending it to me. There's a reason I don't like
> rebasing.
Percpu patches used to run through Ingo's x86 tree (so reached
linux-next from there) but recent changes went out of scope for x86 so
the two patchsets posted here didn't have home. They were posted well
before the merge window (IIRC the first postings were about two months
ago) and went through four and three revision cycles.
The tree was prepared in kind of hurry because I realized that no one
was gonna push it through a few days ago. It's true that these
patches didn't see wider testing in linux-next or any other public
tree, so it seems these should wait for the next merge window. I'll
maintain the percpu tree and push it through linux-next during this
devel cycle.
Sorry about the trouble.
Thanks.
--
tejun
next prev parent reply other threads:[~2009-06-18 22:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-18 8:07 [GIT PULL] percpu for 2.6.31 Tejun Heo
2009-06-18 21:22 ` Linus Torvalds
2009-06-18 21:39 ` Andrew Morton
2009-06-18 22:43 ` Tejun Heo
2009-06-19 6:49 ` Ingo Molnar
2009-06-18 22:33 ` Tejun Heo [this message]
2009-06-18 22:45 ` Tejun Heo
2009-06-19 1:47 ` Tejun Heo
2009-06-19 5:39 ` Ingo Molnar
2009-06-19 19:39 ` Linus Torvalds
2009-06-19 21:08 ` Ingo Molnar
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=4A3AC0BA.4000407@kernel.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.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