All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Rik van Riel <riel@redhat.com>,
	Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	trivial@kernel.org
Subject: Re: [PATCH 3/5] x86: coding style fixes in arch/x86/ia32/ia32_aout.c
Date: Tue, 8 Jan 2008 23:35:54 +0100	[thread overview]
Message-ID: <20080108223554.GE21482@elte.hu> (raw)
In-Reply-To: <20080108221722.GA27698@uranus.ravnborg.org>


* Sam Ravnborg <sam@ravnborg.org> wrote:

> > > Most of these kernel changes would probably get in the way of real 
> > > development, making patches reject that would otherwise apply.
> > 
> > I'm curious, in what way would they interfere?
> 
> Developer A work one some complicated stuff in foo.c which is not yet 
> -mm fooder.
> 
> Developer B submits and have applied a massive cleanup to some of the 
> files touced by Developer A's patch.
> 
> Developer A now needs to fix up his stuff.

Solution: Developer A does a trivial patch -R for the changes that 
generate rejects. Cleanups are NOPs and they are almost infinitely 
splittable. You can apply and unapply them chunk by chunk, almost 
always.

and we actually have first-hand experience with the effects of 
largescale cleanups:

> > How many times did we have to do this in x86.git? Once or twice - 
> > out of 100+ cleanup patches.

i've never seen cleanups truly interfere with development work, in fact 
i mostly saw the positive effects of them. They are easily undone and 
easily redone. But they do keep developers honest (no lame "oh, i'll 
clean this up after i do feature X, Y and Z") and they do keep newbies 
involved. The Linux kernel does have a fundamental "we are too hostile 
towards newbies" problem. It's also fundamentally Linuxish: nobody 
really "owns" the code in an exclusive fashion. If you dont keep it 
clean, someone else will clean it up for you.

and even if there are patch conflicts, it can all be done intelligently 
and trivially. Mail us: "please do not clean up pgtable.h because i'm 
working on unifying it and will do the cleanup after that" and we dont 
clean it up.

But broad statements of "cleanups hinder development work" are just 
plain _WRONG_. Cleanups are good by default - full stop. There are 
exceptions, and we all recognize them when we see them.

> > Firstly, anyone with a forked kernel with outstanding patches that 
> > are not in x86.git only has themselves to blame. We want to actively 
> > discourage forking and sitting on patches too long.
> 
> Curious - what is the purpose of the x86.git tree these days?

what do want to imply by 'these days'?

	Ingo

  reply	other threads:[~2008-01-08 22:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 19:32 [PATCH 3/5] x86: coding style fixes in arch/x86/ia32/ia32_aout.c Paolo Ciarrocchi
2008-01-08 19:59 ` Alexey Dobriyan
2008-01-08 20:04 ` Rik van Riel
2008-01-08 20:51   ` Sam Ravnborg
2008-01-08 21:52   ` Ingo Molnar
2008-01-08 22:17     ` Sam Ravnborg
2008-01-08 22:35       ` Ingo Molnar [this message]
2008-01-08 23:57         ` Sam Ravnborg
2008-01-09  0:15           ` Ingo Molnar
2008-01-08 22:55       ` Jiri Slaby

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=20080108223554.GE21482@elte.hu \
    --to=mingo@elte.hu \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=paolo.ciarrocchi@gmail.com \
    --cc=riel@redhat.com \
    --cc=sam@ravnborg.org \
    --cc=tglx@linutronix.de \
    --cc=trivial@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.