All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Documentation/SendingPatches [2 of 2].
@ 2003-06-11 20:18 Rob Landley
  2003-06-11 20:41 ` Eli Carter
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2003-06-11 20:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

The bit about log rolling.

--- linux-new/Documentation/SubmittingPatches	2003-06-11 15:54:29.000000000 -0400
+++ linux-new/Documentation/SubmittingPatches2	2003-06-11 15:54:06.000000000 -0400
@@ -92,6 +92,16 @@
 complete, that is OK.  Simply note "this patch depends on patch X"
 in your patch description.
 
+In politics, there's a concept called "log rolling", where unrelated
+amendments are bundled together so that changes people want grease the
+way for changes they don't.  Do not do this.  It's annoying.
+
+In coding, this sort of thing can be very subtle, such as performance increases
+that help your new version perform as well as the original while doing more
+work, but which could also have been applied to the original making it even
+faster.  The linux-kernel guys are very good at taking the chocolate coating
+and leaving the pill behind.  This can be very frustrating to developers, but
+it's one of the big reasons open source produces such excellent results.
 
 4) Select e-mail destination.
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/SendingPatches [2 of 2].
  2003-06-11 20:18 [PATCH] Documentation/SendingPatches [2 of 2] Rob Landley
@ 2003-06-11 20:41 ` Eli Carter
  2003-06-11 21:27   ` Rob Landley
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Carter @ 2003-06-11 20:41 UTC (permalink / raw)
  To: rob; +Cc: linux-kernel, torvalds

Rob Landley wrote:
> The bit about log rolling.
> 
> --- linux-new/Documentation/SubmittingPatches	2003-06-11 15:54:29.000000000 -0400
> +++ linux-new/Documentation/SubmittingPatches2	2003-06-11 15:54:06.000000000 -0400
> @@ -92,6 +92,16 @@
>  complete, that is OK.  Simply note "this patch depends on patch X"
>  in your patch description.
>  
> +In politics, there's a concept called "log rolling", where unrelated
> +amendments are bundled together so that changes people want grease the
> +way for changes they don't.  Do not do this.  It's annoying.
> +
> +In coding, this sort of thing can be very subtle, such as performance increases
> +that help your new version perform as well as the original while doing more
> +work, but which could also have been applied to the original making it even
> +faster.  The linux-kernel guys are very good at taking the chocolate coating
> +and leaving the pill behind.  This can be very frustrating to developers, but
> +it's one of the big reasons open source produces such excellent results.

They are also likely to tell _you_ to take the pill out, clean up the 
chocolate, and resubmit; and that takes more of _your_ time.

(And I do like that you broke the log rolling change out; very good 
object lesson. :) )

Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/SendingPatches [2 of 2].
  2003-06-11 20:41 ` Eli Carter
@ 2003-06-11 21:27   ` Rob Landley
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Landley @ 2003-06-11 21:27 UTC (permalink / raw)
  To: Eli Carter; +Cc: linux-kernel

On Wednesday 11 June 2003 16:41, Eli Carter wrote:
> Rob Landley wrote:
> > The bit about log rolling.
> >
> > --- linux-new/Documentation/SubmittingPatches	2003-06-11
> > 15:54:29.000000000 -0400 +++
> > linux-new/Documentation/SubmittingPatches2	2003-06-11 15:54:06.000000000
> > -0400 @@ -92,6 +92,16 @@
> >  complete, that is OK.  Simply note "this patch depends on patch X"
> >  in your patch description.
> >
> > +In politics, there's a concept called "log rolling", where unrelated
> > +amendments are bundled together so that changes people want grease the
> > +way for changes they don't.  Do not do this.  It's annoying.
> > +
> > +In coding, this sort of thing can be very subtle, such as performance
> > increases +that help your new version perform as well as the original
> > while doing more +work, but which could also have been applied to the
> > original making it even +faster.  The linux-kernel guys are very good at
> > taking the chocolate coating +and leaving the pill behind.  This can be
> > very frustrating to developers, but +it's one of the big reasons open
> > source produces such excellent results.
>
> They are also likely to tell _you_ to take the pill out, clean up the
> chocolate, and resubmit; and that takes more of _your_ time.

Oh sure. :)

I pondered adding various comments along the lines of "Don't insult the 
intelligence of the people you're sending it to by assuming they can't break 
it out for themselves.  Do assume they're lazy enough to tell YOU to do it, 
and reject the whole patch until then.  Ask yourself: would you rather get 
some of your code into the kernel, or none at all?"

And also a longer admonition, that getting mad about this sort of thing is a 
very common problem among newbies, and you just have to grow up and learn to 
leave all-or-nothing behind and live with shades of grey to function around 
here in the long term.

But I was trying very hard to keep it short.  Feel free to amend the patch if 
you can think of anything better to say. :)

I was also trying not to wander off topic.  There are all sorts of related 
areas like "gradual transition" vs "flag day" approaches to large patches.  
For now, if they're doing a large enough patch we can assume they've been 
enculturated.  (Well, mostly.)  In the long term, "theory of linux-kernel 
development" might not belong belong in SubmittingPatches.  Maybe a seperate 
document, or in a FAQ somewhere, or the README...  Dunno.

> (And I do like that you broke the log rolling change out; very good
> object lesson. :) )
>
> Eli

Thanks.  It seemed the thing to do. :)

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-11 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 20:18 [PATCH] Documentation/SendingPatches [2 of 2] Rob Landley
2003-06-11 20:41 ` Eli Carter
2003-06-11 21:27   ` Rob Landley

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.