Re: [PATCH x86] [12/16] Optimize lock prefix switching to run less frequently



On Friday 04 January 2008 21:34:15 Thomas Gleixner wrote:
On Fri, 4 Jan 2008, Andi Kleen wrote:
The kernel process request that _all_ contributors run their patches
through checkpath.pl and fix the problems.

That's new. When and by whom was that rule been introduced? And with what
rationale?

Documentation/SubmitChecklist

That says

" You should be able to justify all violations that remain in your patch."

I think I did that.

Anyways if you care so much about space<->tabs why don't you just write
a filter that converts spaces to tabs for incoming patches? Like it is
traditionally done for trailing white spaces? Would be a trivial perl script.

I need to fix up your sloppiness ?

That's the wrong way to see it.

See it this way: Is forcing humans to convert spaces to tabs an useful activity?
Is rejecting patches for that and requiring repost a useful activity that
improves Linux in any way? Will it help Linux to let people spend time
to convert spaces to tabs instead of writing patches or testing?

I don't think it is. Arguably having tabs is nicer than spaces (I wont'
disagree with that).

But since it's something a simple script can do it's
best to just handle it automatically.
Then everybody can forget about that and it won't bother anymore again.

ftp://ftp.firstfloor.org/pub/ak/perl/converttabs

Anyways I could run converttabs over my pile and repost if you want,
but as pointed out elsewhere I think it would be better to just integrate
it into the merge flow -- then people could just forget about this forever.

Anyways my future patches will be always run through that.

The only thing which is beyond ridiculous is your absolute refusal to
play by the rules.

I question newly introduced rules that don't make sense to me. e.g the absolute
requirement of 100% checkpatch.pl compliance is certainly new.

I just pointed out broken logic in your patch (vs. max_cpus) and your
answer is just sloppy hand waving ignoring my completely valid
point. After I pointed it out to you, you do not even have the modesty
of acknowledging your error.

I just fixed the patch instead. But you're right I was wrong on that.

No, a second later you claim that we care
only about coding style and not the patch content itself.

Your findings of broken patches in the x86.git tree just prove that we
are all human beings,

Sure that's expected and I missed issues too when I was reviewing x86 patches
(the sentence came out perhaps a more harsh than originally intend)

But my impression from reading the reviews was that a lot of the rejections
were based only on checkpatch.pl and not on logic checks and there were certainly
a few patches that clearly weren't logic reviewed. If you do logic checks then that's
fine of course -- feel free to prove me wrong on that front in the future.

To be honest I was also a little frustrated for patches that I consider
important cleanups (like the early-reserve code) I just get some checkpatch.pl
complaints.

but at least the people responsible for the
x86.git tree are able to admit their mistakes and fix them without
arguing.

I fixed all objections that made sense, haven't reposted everything changed yet though.

On the other side I'm waiting since month for any response
from you on a review for a pile of obviously broken patches which you
wanted to push into 2.6.24.

What patches do you mean? I'm not of anything pending for .24.

Your hyprocritical crusade

I would prefer calling it "trying to improve inefficient newly introduced procedures
by constructive criticism" :-)

is annoying the hell out of me, but feel
free to ridicule yourself further.

I'm sorry that you don't see my points. I guess I'll need to do a better job
at explaining them, but probably not tonight.

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [ANNOUNCE] Stacked GIT 0.13
    ... operations are performed using GIT commands and the patches are stored ... Safety checks for the 'rebase' command ... already modified by the current patch ... Fix bash completion to not garble the screen with an error message. ...
    (Linux-Kernel)
  • 2.6.21-mm2
    ... A handful of IDE patches were dropped due to compilation failures. ... See the `hot-fixes' directory for any important updates to this patchset. ... If you hit a bug in -mm and it is not obvious which patch caused it, ... sunrpc fix ...
    (Linux-Kernel)
  • 2.6.17-mm4
    ... The RAID patches have been dropped due to testing failures in -mm3. ... The SCSI Attached Storage tree has been restored. ... See the `hot-fixes' directory for any important updates to this patchset. ... Fix reject due to git-agpgart.patch. ...
    (Linux-Kernel)
  • Re: Q824143 -- how to get patch?!?
    ... There are 2 sorts of patches. ... client or clients that are have an issue. ... They are available from product support if the engineer while working with ... the client identifies that this fix will fix the specific problem the client ...
    (microsoft.public.security)
  • Re: [BUG] sched: big numa dynamic sched domain memory corruption
    ... fix group power for allnodes_domains ... Is the first of the above three patches the one needed to fix the "big ... This patch in turn seems to have some important fixes and followups ... Which of the following would you recommend I advise SUSE do for SLES10: ...
    (Linux-Kernel)