mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Juerg Haefliger" <juergh@gmail.com>
To: "Hans de Goede" <j.w.r.degoede@hhs.nl>
Cc: "Rudolf Marek" <r.marek@assembler.cz>,
	"Mark M. Hoffman" <mhoffman@lightlink.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"LM Sensors" <lm-sensors@lm-sensors.org>
Subject: Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open
Date: Wed, 11 Apr 2007 08:08:17 -0700	[thread overview]
Message-ID: <191fb4ca0704110808k2c2cf10ct6c2dcab5efeb0939@mail.gmail.com> (raw)
In-Reply-To: <461CA932.4060108@hhs.nl>

Hi all,

As pointed out by different people already, this is mainly a process
issue. If we can get enough people together who are willing to
contribute we can make this work. Obviously Jean did a great job (big
thanks!) but I can't blame him for throwing the towel. I was always
amazed at how much time and effort he put into this. This can't be
handled by a single person.

I believe we need to come up with a process (and I like what Hans
suggests) and then need to identify individuals for the different jobs
(reviewers, submitters, ...).

I also think we need to make more use of trac to assign tasks to
people and to provide progress information/reports so that driver
submitters know what's going on and in what stage of the pipeline
their driver currently is.

...juerg (volunteering as a reviewer)




On 4/11/07, Hans de Goede <j.w.r.degoede@hhs.nl> wrote:
> Rudolf Marek wrote:
> > Hello all,
> >
> >
> > Maybe we could try following:
> >
> > 1) person post the driver
> > 2) quick review could be done critical fixes only, driver goes to -mm
> > 3) review that goes deeper - check for interface conformity and all the
> > stuff which could break - fixes for non-critical stuff
> > 4) after this driver goes to Linus tree at the very beginning for the
> > merge cycle marked as EXPERIMENTAL
> > 5) if the person agrees to be in MAINTAINER final review may be done and
> > EXPERIMENTAL could be removed. (This is step which might involve all
> > steps to make the driver really perfect ;)
> >
> > Well this is just an idea. Neither it does solve the maintainer problem,
> > nor it is perfect solution.
> >
>
> I like the general direction, but I don't really see a clear difference between
> step 2 and 3, IMO the border between these steps is vague. Also this doesn't
> address who can do (which kinda) reviews.
>
> I've been thinking about a solution for the slow path for new driver inclusion
> myself here is what I propose:
>
> 1a) We need a set of review guidelines / a review checklist. Here is a start:
> * Must follow kernel coding style guidelines
> * sysfs interface must be in accordance with Documentation/hwmon/sysfs
> * proper locking to avoid 2 simultaneous attempts to communicate with the
>    device when for example multiple sysfs files get read at once.
> * check the code for any obvious programming errors, like:
>    -not freeing resources (in error paths and in general)
>    -overrunning an array
>    -not checking return values of calls to other parts of the kernel
>    -of by one errors / bad loops
>    -etc.
> 1b) We need to decide somehow who can do reviews. For now I say anyone who
>    already maintains atleast one hwmon driver. But thats just a wild shot better
>    ideas are welcome.
>
> 2) We need a review process for new drivers, suggestion:
>
> 1.  Person (the submitter) posts driver
> 2a. Someone (the reviewer) reviews it according to our checklist / guidelines
>      and posts a detailed report of his findings and what needs fixing
> 2b. The submitter posts a fixed version
> 2c. The reviewer re-reviews the fixed version and either approves the fixed
>      version, goto 3 or points out things that (still) need fixing, goto 2b.
> 3.  The driver gets send to the -mm tree (marked as EXPERIMENTAL)
> 4.  Another person (the second reviewer) reviews it, same process as with step
>      2, once approved goto 5
> 5.  Send to Linus tree at the very beginning for the merge cycle still marked
>      as EXPERIMENTAL
> 6.  After quite some time and positive usage reports without any negative
>      counter reports a patch gets send to Linux to remove EXPERIMENTAL status.
>
> 3) We need a review process for fixes to existing drivers, suggestion:
>
> 1. Person (the submitter) posts a patch to an existing driver
> 2. The driver maintainer is responsible for handling this patch and reviews
>     it. If necessary he either modifies the patch himself or asks the submitter
>     to make modifications.
> 3. Once the maintainer is happy with the patch, he sends it to Linus tree at
>     the beginning for the merge cycle.
>
>
> The rationale of doing the new driver thing this way is to avoid having a
> single person who bears end responsibilities for all reviews and thus becomes a
> potential bottleneck. The problem with distributing reviews though is that most
> of us aren't as experienced as Jean is. Thus I decided to just do the review
> twice, to compensate (a bit) for this.
>
> The rationale of doing modifications of existing drivers through the maintainer
> is that he knows the code best, and thus can best judge if fixes are really
> fixes or more bandaids / workarounds. And if these fixes have any unwanted side
> effects.
>
> To give proper credit: the above is heavily inspired by how Fedora handles new
> packages, Fedora has thousands of packages written and maintained by 100's of
> contributers. Using a model where any contributer, once he has taken the first
> horde of becoming a contributer and thus proving (some) competence can review
> other contributers new packages.
>
> Problems with the above, I'm not completely happy with my current proposal for
> deciding who can do reviews. Also I guess that Andrew and Linus would like to
> have a single person to take hwmon patches from, thus we still need someone
> todo the actual collecting of approved patches and sending them to Andrew
> and/or Linus.
>
> Last but not least I want to say that we should not focus too much on review,
> review can only get us sofar. In my (abituguru) experience most real life hwmon
> problems do not come from things easily catched by a review, but rather from
> problems with (certain versions of) the hardware responding different then
> expected. No amount of review will catch these cases, thus we also need to
> concentrate on testing.
>
> For both abituguru drivers I've posted to the forums of the abit websites and
> the lm-sensors list as soon as I got something usable and that way managed to
> build a small team of circa 8 testers for each version, a team which I send
> each update to before sending it for upstream inclusion. Especially for the
> abituguru (rev 1 and 2) driver this has helped my much since this is a strange
> beast. The abituguru3 driver is more straight forward but also there the
> testing by others has been invaluable.
>
>
> > Personally better would be go with Jean and some kind of scheme noted
> > above, which would solve our "takes too long problem" and preserve the
> > high quality of drivers. This would mean some co-maintainers to Jean,
> > rather than to live without Jean at all.
> >
>
> +1
>
> Regards,
>
> Hans
>
>
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors@lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>

  reply	other threads:[~2007-04-11 15:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070410150227.1bac05b5@hyperion.delvare>
2007-04-10 13:56 ` David Hubbard
2007-04-10 15:40 ` Hans de Goede
2007-04-10 15:46   ` David Hubbard
2007-04-10 22:22     ` Rudolf Marek
2007-04-10 23:02       ` David Hubbard
2007-04-11  9:24       ` Hans de Goede
2007-04-11 15:08         ` Juerg Haefliger [this message]
     [not found]         ` <461dca480d7ec@wp.pl>
2007-04-12  7:27           ` [lm-sensors] Hardware monitoring subsystem maintainer positionis open Hans de Goede
2007-04-15  2:07             ` Dmitry Torokhov
2007-04-11  9:49   ` Hardware monitoring subsystem maintainer position is open Jean Delvare
2007-04-11 10:06     ` [lm-sensors] " David Hubbard
2007-04-11 14:49     ` Gene Heskett
2007-04-15 15:03 ` [lm-sensors] " Mark M. Hoffman
2007-04-15 17:54   ` Juerg Haefliger
2007-04-15 18:16   ` Rudolf Marek
2007-04-17  8:45   ` Jean Delvare

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=191fb4ca0704110808k2c2cf10ct6c2dcab5efeb0939@mail.gmail.com \
    --to=juergh@gmail.com \
    --cc=j.w.r.degoede@hhs.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mhoffman@lightlink.com \
    --cc=r.marek@assembler.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome