From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: kernel-janitors@vger.kernel.org
Subject: Re: [Kernel-janitors] please comment on this patch
Date: Thu, 17 Jun 2004 05:24:09 +0000 [thread overview]
Message-ID: <40D12AF9.3010101@conectiva.com.br> (raw)
In-Reply-To: <200406160257.i5G2vWLJ023048@sirius.cs.pdx.edu>
[-- Attachment #1: Type: text/plain, Size: 1830 bytes --]
Kristen Carlson wrote:
>>On Tue, Jun 15, 2004 at 07:57:32PM -0700, Kristen Carlson wrote:
>>
>>>For removing check_region from drivers/char/esp.c
>>
>>Better than most first attempts, but some problems. Mostly inherent in the
>>original driver ;-)
>
>
>
> Agreed, the driver is not written in the clearest way it could have been .
> This actually brings me to ask a philosophical clarification for janitor work.
:-) IMHO there are lots of ways people see what being a "kernel janitor"
really means... I think the best definition is: to have taste.
I.e. stick to the APIs, follow the "de facto" mostly undocumented "style
of the ``good chunks'' of the kernel sources", i.e. look at how Al Viro
writes code, read his reasonings on the linux-kernel mailing list,
follow it, that is to be a janitor, in my humble opinion.
> In general, should we stick with our appointed task (i.e. do as little as
> possible to the driver except what the instructions in the TODO list specify),
> or is it acceptable to do more extensive changes? AND, without hardware to
> test with, how much changes should you really do to a driver? For example,
> I don't know if I'd feel comfortable re-writing too much of this driver
> without being able to test it.
1. if the code is good, there is no need to touch it
2. if the code works, but is ugly, do changes that make it more
understandable and closer to what is considered good taste
3. if the code doesn't works, fix it, taking advantage that you're
_studying_ it to understand what is to be fixed and see if it follow the
magical definition of "good taste" and send some preparatory patches
cleaning it. Then fix it.
Sometimes, just suggest ditching it from the kernel sources, I'm sure
many here remember some cases where there was no hope for salvation :-)
- Arnaldo
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2004-06-17 5:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 2:57 [Kernel-janitors] please comment on this patch Kristen Carlson
2004-06-16 14:12 ` Matthew Wilcox
2004-06-16 16:48 ` Kristen Carlson
2004-06-17 3:38 ` Kristen Carlson
2004-06-17 5:24 ` Arnaldo Carvalho de Melo [this message]
2004-06-17 12:51 ` Matthew Wilcox
2004-06-18 1:41 ` Nicolas Kaiser
2004-06-18 9:43 ` maximilian attems
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=40D12AF9.3010101@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=kernel-janitors@vger.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.