[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0610311250500.22528@localhost.localdomain>
Date: Tue, 31 Oct 2006 13:11:06 -0500 (EST)
From: "Robert P. J. Day" <rpjday@...dspring.com>
To: Borislav Petkov <petkov@...h.uni-muenster.de>
cc: David Rientjes <rientjes@...washington.edu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched.c : correct comment for this_rq_lock() routine
On Tue, 31 Oct 2006, Borislav Petkov wrote:
> In case you're still doubtful about volunteering:
>
> http://lkml.org/lkml/2004/12/20/255
at the risk of being somewhat long-winded, let me explain what i think
is a fundamental conflict involving patch submission, particularly WRT
what are called "trivial" patches.
unlike non-trivial patches such as obvious bug fixes, trivial patches
obviously don't get quite the attention and, because of that, they
have a tendency to collect until someone decides to, say, apply all of
them at once. most of the time, that's not a problem -- if they're
simply typo fixes or adding comments, then there's no rush. but
that's not always the case.
in some cases, waiting for the application of one trivial patch might
hold up the submission of another dependent (trivial) patch. as an
example, i was just poking around the source for the various
"atomic.h" files and noticed a couple possible cleanups:
1) make sure *everyone* uses "volatile" in the typedef struct (which
i actually submitted recently)
2) standardize on "inline", rather than the current messy mixture of
both "inline" and "__inline__" (which i'm guessing exists for
backward compatibility)
for the sake of argument, let's assume those were two perfectly
acceptable cleanups and that no one had any objection. (i'm just
hypothesizing here, so nobody get their underoos in a bunch. :-)
personally, i'd prefer to submit them as separate patches, since i
like my patches to each represent a single logical issue. so to start
things off, i submit a patch to fix the "volatile" issue. that
*seems* like a trivial patch, so i submit it as such. and because
it's marked as trivial, there's no rush to get to it.
if that first trivial patch now changes line numbers sufficiently in
the affected files, then i really have to wait for it to be applied
before i submit the following trivial patch to make sure that second
patch applies cleanly against the updated source. so i might sit
there, waiting for that first application before i can go ahead with
the second submission. and i wait, and i wait, and i wait ...
in general, while some patches might very well look "trivial," they
could very well be some preliminary/aesthetic cleanup that has to be
done to set the stage for more involved work that has a real effect.
but that more involved work is just going to have to sit and wait. if
the trivial stuff got applied more quickly, it would seem that that
would speed up the process of getting to the good stuff.
also, it's never clear whether a patch is going to be appropriate.
someone might spend time creating a patch, only to have it rejected
for reasons they never considered. it might be more useful to be able
to ask, "hey, i have an idea for a patch, what do you think?", and at
least get some feedback right away.
instead, it seems that, whenever one makes a suggestion along those
lines, the standard reply is just, "submit a patch." so one creates a
patch and submits it, and it gets rejected after all. that gets a
little discouraging after a while.
if anyone has a suggestion as to how to make this process more
enjoyable and productive, i'm all ears.
rday
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists