All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bartlomiej Zolnierkiewicz" <bzolnier@gmail.com>
To: "Andi Kleen" <ak@suse.de>
Cc: "Greg KH" <greg@kroah.com>, "Adrian Bunk" <bunk@stusta.de>,
	"Roland Dreier" <rdreier@cisco.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Rewriting floppy.c was Re: Free Linux Driver Development!
Date: Thu, 1 Feb 2007 14:12:22 +0100	[thread overview]
Message-ID: <58cb370e0702010512j51cc2d06w6ffa6df12bbc99f6@mail.gmail.com> (raw)
In-Reply-To: <p7364anpkz5.fsf_-_@bingen.suse.de>

On 31 Jan 2007 11:08:14 +0100, Andi Kleen <ak@suse.de> wrote:
> Greg KH <greg@kroah.com> writes:
> >
> > What?  Throw a fresh-faced newbie instantly into the tar-pit of despair
> > that floppy.c is?  Do you want everyone just to run screaming from
> > kernel development never to be seen again?

floppy.c is not really that ugly or complicated...

It just needs some care:

* cleanup of the over-usage of macros (DP macro etc)
* DocBook documentation would be nice
* make debugging printks optional by using macros in a smart way
  (see libata code for examples)
* tracking and fixing current regressions

Once the above is done there would be more room
for the future cleanups and improvements like:

* using bios directly in copy_buffer()
  (or avoiding copy completely if possible - need somebody to look at code)
* map user pages instead of memcpy-ing them in fd_copy{in,out}()
* unifying/merging arch specific code into floppy.c (not sure of this one)
* smarter way to handle IRQs

floppy.c rewrite offers an unique chance to learn by practice
from doing simple tasks (macros cleanup) to more advances ones
(involving block layer mechanisms) up to really difficult ones
(IRQ/"actual work" handling methods).

I could help with reviewing patches in case anybody is interested
and have patience to deal with few days delays for reply.  However
please don't add me to MAINTAINERS as floppy diver maintainer.

:)

> Doing a from-scratch rewrite of floppy.c only supporting new
> hardware and no obscure formats ("newfloppy.c") would be an excellent
> newbie project imho.  This means for someone who is still pretty
> new, but wants to get their fingers wet with more complicated changes.
>
> Then over time (old-)floppy.c could be phased out.

* this is unlikely that we need to add support for new hardware
* by doing the rewrite from scratch we will lose changes history
  and possibility to easily track regressions
* for a long time we would have to deal with both drivers

This is just not worth it IMHO.

Bart

  parent reply	other threads:[~2007-02-01 13:12 UTC|newest]

Thread overview: 150+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30  1:29 Free Linux Driver Development! Greg KH
2007-01-30  2:19 ` Rik van Riel
2007-01-30  2:23   ` Greg KH
2007-01-30  7:33 ` Bauke Jan Douma
2007-01-30 19:15   ` Greg KH
2007-01-30 20:42   ` Valdis.Kletnieks
2007-01-30 10:52 ` Jan Engelhardt
2007-01-30 19:14   ` Greg KH
2007-01-30 19:31     ` Jan Engelhardt
2007-01-30 19:46       ` Greg KH
2007-01-30 20:23       ` Diego Calleja
2007-01-30 20:39         ` Jan Engelhardt
2007-01-31 21:13         ` Jan-Benedict Glaw
2007-01-31 21:56           ` Willy Tarreau
2007-01-31 22:04             ` Jan-Benedict Glaw
2007-01-30 13:45 ` Florian Weimer
2007-01-30 19:12   ` Greg KH
2007-01-30 19:40     ` Florian Weimer
2007-01-30 19:47       ` Greg KH
2007-01-30 17:30 ` Manu Abraham
2007-01-30 19:11   ` Greg KH
2007-01-30 22:21     ` Manu Abraham
2007-01-30 19:33   ` Bill Davidsen
2007-01-30 19:55     ` Greg KH
2007-01-30 17:45 ` Roland Dreier
2007-01-30 17:55   ` Manu Abraham
2007-01-30 18:20   ` Jeff Garzik
2007-01-30 18:11     ` Jeff V. Merkey
2007-01-30 19:02     ` Roland Dreier
2007-01-30 19:36       ` Jeff Garzik
2007-01-30 19:10   ` Greg KH
2007-01-30 19:29     ` Roland Dreier
2007-01-30 19:46       ` Jeff Garzik
2007-01-30 21:38         ` Roland Dreier
2007-01-30 21:47           ` Greg KH
2007-01-30 22:00             ` Roland Dreier
2007-01-30 22:12               ` Jeff Garzik
2007-01-30 22:19                 ` Roland Dreier
2007-01-30 22:39                   ` John W. Linville
2007-01-30 22:23                 ` Lennart Sorensen
2007-02-01 13:59                   ` Erik Mouw
2007-02-01 14:45                     ` Lennart Sorensen
2007-02-01 22:39                       ` Erik Mouw
2007-02-01 15:46                   ` Michael Buesch
2007-02-01 16:42                     ` Lennart Sorensen
2007-02-01 17:48                       ` Michael K. Edwards
2007-01-30 22:14               ` Dave Airlie
2007-01-30 22:24                 ` Trent Waddington
2007-01-30 22:41                   ` Jeff Garzik
2007-01-31 13:34                     ` David Hollis
2007-01-31 17:56                       ` Jan Engelhardt
2007-01-31 18:37                         ` Bob Copeland
2007-02-01  5:52                           ` Greg KH
2007-02-04 20:54                         ` Bill Davidsen
2007-01-31 17:50               ` Jan Engelhardt
2007-01-31 17:55                 ` Jeff Garzik
2007-01-31 17:58                 ` alan
2007-01-31 18:29                   ` Jan Engelhardt
2007-01-31 19:17                     ` alan
2007-01-30 22:08           ` Jeff Garzik
2007-01-30 22:15             ` Roland Dreier
2007-01-30 23:01               ` Jeff Garzik
2007-01-30 22:19         ` Matthieu CASTET
2007-01-30 22:42           ` Jeff Garzik
2007-01-31  4:02             ` Andrey Borzenkov
2007-01-31 12:49               ` Alan
2007-01-31 18:37                 ` Andrey Borzenkov
2007-01-30 23:03           ` Alan
2007-01-31 17:03         ` Eric Sandeen
2007-01-31 17:07           ` Jeff Garzik
2007-01-31 17:09             ` Eric Sandeen
2007-02-07 14:03               ` Tejun Heo
2007-02-07 18:40                 ` Greg KH
2007-01-31 17:28           ` Alan
2007-01-30 19:54       ` Greg KH
2007-01-30 21:46         ` Roland Dreier
2007-01-30 22:27           ` Lennart Sorensen
2007-01-30 22:34           ` Jeff Garzik
2007-01-30 22:50             ` Roland Dreier
2007-01-30 23:05               ` Greg KH
2007-01-30 23:09               ` Jeff Garzik
2007-01-30 23:29                 ` Roland Dreier
2007-01-30 23:45                   ` Manu Abraham
2007-01-31  0:16                   ` Jeff Garzik
2007-01-31  0:46                     ` Greg KH
2007-01-31  1:07                     ` Roland Dreier
2007-01-31  1:30                       ` Greg KH
2007-02-07 10:30           ` Laurent Pinchart
2007-01-30 22:43       ` Alan
2007-01-30 19:52     ` Diego Calleja
2007-01-30 20:11       ` Greg KH
2007-01-31  1:13     ` Adrian Bunk
2007-01-31  1:19       ` Trent Waddington
2007-01-31  2:14         ` Adrian Bunk
2007-01-31  1:24       ` Greg KH
2007-01-31  2:11         ` Bartlomiej Zolnierkiewicz
2007-01-31  2:14         ` Adrian Bunk
2007-02-05  9:49           ` Stefan Seyfried
2007-02-06 13:37             ` Sunil Naidu
2007-02-06 14:57               ` Dave Jones
2007-02-06 16:30               ` Gene Heskett
2007-02-06 16:36                 ` Gene Heskett
2007-02-06 21:14               ` Akemi Yagi
2007-02-06 22:15                 ` floppy (Re: Free Linux Driver Development!, OT) Oleg Verych
2007-02-07 13:33                 ` Free Linux Driver Development! Sunil Naidu
2007-02-07 13:50                   ` Lennart Sorensen
2007-02-08  0:43                 ` David Lang
2007-02-06 15:12             ` Bill Davidsen
2007-02-06 16:11               ` Stefan Seyfried
2007-01-31 10:08         ` Rewriting floppy.c was " Andi Kleen
2007-01-31  9:20           ` Jesper Juhl
2007-01-31  9:32             ` Trent Waddington
2007-01-31  9:34               ` Jesper Juhl
2007-01-31 16:18           ` Martin Seidl
2007-01-31 17:24           ` Adrian Bunk
2007-01-31 18:24             ` Jan Engelhardt
2007-01-31 18:58               ` Lennart Sorensen
2007-01-31 19:20                 ` Jan Engelhardt
2007-01-31 21:46               ` Jan-Benedict Glaw
2007-02-01 13:12           ` Bartlomiej Zolnierkiewicz [this message]
2007-02-01 13:22             ` Jesper Juhl
2007-02-01 17:13             ` Al Viro
2007-01-31 17:41     ` Sergei Organov
2007-02-01  5:46       ` Greg KH
2007-02-01 14:22         ` Sergei Organov
2007-02-01 14:41           ` Alan
2007-01-30 19:08 ` Dmitri Vorobiev
2007-01-30 19:49   ` Greg KH
2007-01-30 20:15 ` Andrew Lyon
2007-01-30 20:30   ` Greg KH
2007-02-04 13:29     ` Christer Weinigel
2007-02-04 18:19       ` Greg KH
2007-02-04 21:33         ` Christer Weinigel
2007-01-31  2:27 ` Michael K. Edwards
2007-01-31  6:26   ` Greg KH
2007-01-31  6:48     ` Kumar Gala
2007-01-31 20:01       ` Michael K. Edwards
     [not found]   ` <355711.50750.qm@web36602.mail.mud.yahoo.com>
2007-02-04 18:20     ` Greg KH
2007-02-04 19:08       ` Miguel Ojeda
2007-02-05  8:13         ` Greg KH
2007-02-05 15:24           ` Jiri Slaby
2007-02-06  6:42             ` Greg KH
2007-02-06 13:35           ` Sunil Naidu
2007-02-06 17:01             ` Greg KH
2007-02-04 18:59 ` Pierre Ossman
2007-02-06  6:44   ` Greg KH
2007-02-06  8:29     ` Manu Abraham
2007-02-06 18:21       ` Greg KH
2007-02-07  7:12         ` Miguel Ojeda
2007-02-07 18:42           ` Greg KH

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=58cb370e0702010512j51cc2d06w6ffa6df12bbc99f6@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=ak@suse.de \
    --cc=bunk@stusta.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.com \
    /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.