public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RANT] Linux-IrDA status
@ 2000-11-08  1:14 Jean Tourrilhes
       [not found] ` <3A08AB56.10BD5007@mandrakesoft.com>
  0 siblings, 1 reply; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-08  1:14 UTC (permalink / raw)
  To: Linus Torvalds, Linux kernel mailing list, Alan Cox, Dag Brattli

	Hi,

	(I'm not on the Linux kernel mailing list)

	The IrDA stack in Linux is non functional and has some major
critical bugs :
                        http://linux24.sourceforge.net/
	Not only it doesn't work, but it can crash your kernel fast.

	Most might wonder why the IrDA stack is in such state of
disrepair. Is there no maintainers and nobody who cares ?
	The truth is that every 2 month, Dag Brattli, the official
maintainer of the IrDA stack (see MAINTAINERS), collect all our
patches and send the latest official Linux-IrDA patch to Linus.
	And every time the patch never materialise in the Linux
kernel. Of course, Dag never receive any answer, so doesn't know why
his patches are going directly to /dev/null.
	As we fix more bugs, the official IrDA patch get growing and
growing. The patch that Dag sent last week to Linus was 320k. It has
slowly accumulated over one year :-(

	On the other hand, what never cease to amaze me is that some
patches to the IrDA code gets into the kernel. Some of those patches
make things better, some make things worse. Those patches certainly
don't come from Dag or any of the most active Linux-IrDA hacker, and
none of us see those patches in advance so that we get a chance to
comment on them and test them.
	I guess that some people have trouble reading the MAINTAINERS
file :-( Or maybe there is another maintainer for the IrDA stack and
none of us knows about it.


	I think for us the only solution is to ignose what's happening
in the 2.4.X kernel and have Dag maintaining Linux-IrDA separate from
the kernel. I don't see why Dag should take the effort to send regular
patch to Linus if they get ignored.
	In other words, the chances to have IrDA working in kernel 2.4
are *very* slim at this point.
	So, if people are interested in IrDA and want to use it, they
should suscribe to the Linux-IrDA mailing list and can ask me the
latest patch (Dag is now too discouraged). We will put it in the usual
place on Sourceforge...

	I hope it clarify a few things...

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
       [not found] ` <3A08AB56.10BD5007@mandrakesoft.com>
@ 2000-11-08  1:38   ` Jean Tourrilhes
  2000-11-08  8:12     ` Russell King
  0 siblings, 1 reply; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-08  1:38 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux kernel mailing list, Dag Brattli

On Tue, Nov 07, 2000 at 08:24:38PM -0500, Jeff Garzik wrote:
> 
> Take a look at
> http://www.uwsg.iu.edu/hypermail/linux/kernel/9908.0/0669.html  This
> happened with ISDN.  Slightly different situation, but similar.

	I'm familiar with that. The *BIG* difference is that Dag has
always sent his patch to Linus from the very start, when it was still
small, whereas ISDN did stay on their patch from a long time.

> IMHO Dag should send break up his patches into small chunks, and feed
> those to Linus, with an explanation of each chunk.  That's what
> everybody else does... :)

	If you can break up stuff that has accumulated over one year,
please tell me so. Most of the original patches have been lost in the
mist of time. We could send it file by file, but that would give some
interesting results ;-)
	There is also a tradeoff between having the maintainer doing
the filtering to make sure that what's get checked in is safe and
getting junk in the kernel. With IrDA, Dag make sure to test and
integrate each patch before sending it to Linus, which of course make
bigger chunks. Also, some of the contribution on the IrDA mailing list
are big chunks of patches by themselves.
	Anyway, Linus should read the Linux-IrDA mailing list if he
really want to keep up with the gory details ;-)

> 	Jeff

	Ciao...

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
       [not found] <Pine.LNX.4.10.10011072030070.15254-100000@penguin.transmeta.com>
@ 2000-11-08  5:08 ` Michael Rothwell
  2000-11-08  5:23   ` Linus Torvalds
  2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
  0 siblings, 2 replies; 17+ messages in thread
From: Michael Rothwell @ 2000-11-08  5:08 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: jt, Linux kernel mailing list, Alan Cox, Dag Brattli

Linus Torvalds wrote:
> 
> On Tue, 7 Nov 2000, Michael Rothwell wrote:
> >
> > Linus, can you post reasons why you keep ignoring^W rejecting the IrDA
> > patch?
> 
> Basically, whatever Alan rants, I've not seen the patches all that many
> times at all.
> 
> Also, I've never seen much in the form of explanation, and at least the
> last patch I saw just the first screenful was so off-putting that I just
> went "Ok, I have real bugs to fix, I don't need this crap".
> 
>                 Linus


Like what? I'm not sure what you're saying here. It seems that the pople
writing the IrDA code have gotten no feedback from you as to why their
patch is never accepted -- could you clarify? They're apparently putting
a lot of effort into writing and fixing IrDA for Linux, and have become
very discouraged at the lack of feedback. "Crap" the code may be, but it
seems like it would be a good idea to at least say something substantive
about why their code keeps getting rejected.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08  5:08 ` [RANT] Linux-IrDA status Michael Rothwell
@ 2000-11-08  5:23   ` Linus Torvalds
       [not found]     ` <20001109192404.B25828@bougret.hpl.hp.com>
  2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
  1 sibling, 1 reply; 17+ messages in thread
From: Linus Torvalds @ 2000-11-08  5:23 UTC (permalink / raw)
  To: Michael Rothwell; +Cc: jt, Kernel Mailing List, Alan Cox, Dag Brattli



On Wed, 8 Nov 2000, Michael Rothwell wrote:
> Linus Torvalds wrote:
> > 
> > Also, I've never seen much in the form of explanation, and at least the
> > last patch I saw just the first screenful was so off-putting that I just
> > went "Ok, I have real bugs to fix, I don't need this crap".
>
> Like what? I'm not sure what you're saying here. It seems that the pople
> writing the IrDA code have gotten no feedback from you as to why their
> patch is never accepted -- could you clarify?

There's one _major_ reason why things never get accepted:

 CVS trees

I'm not fed patches. I'm force-fed big changes every once in a while. I
don't like it.

I like it even less when the very first screen of a patch is basically a
stupid change that implies that somebody calls ioctl's from interrupts.

When I get a big patch like that, where the very first screen is
bletcherous, what the hell am I supposed to do? I'm not going to waste my
time on people who cannot send multiple small and well-defined patches,
and who send be big, ugly, "non-maintained" (as far as I'm concerned)
patches.

I'm surprised Alan rants about this. He knows VERY well how I work, and is
(along with Jeff Garzik and Randy Dunlap) one of the people who are very
good at sending me 25 separate patches with explanations of what they do.

Basically, if you send me a big patch with tons of changes, how the hell
DO you expect me to answer them? Does anybodt really expect me to go
through ten thousand lines of code that I do not know, and comment on it?
Obviously not, as anybody with an ounce of sense would see.

So what choice do I have? Apply them blindly?

Quite frankly, I'd rather have a few people hate me deeply than apply
stuff I don't like. If I just start blindly applying big patches, I can
avoid nasty discussions. But I'd rather have people flame me. Maybe some
day people will instead start sending me smaller commented patches.

I'm NOT going to do other peoples work for them. If people can't be
bothered to send me well-specified patches ESPECIALLY now that we're close
to 2.4.x, then I can't be bothered to apply them,

Live with it. Hat eme all you like. I do not care. Th ething I care about
is not letting too much crap through unchecked.

		Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08  5:08 ` [RANT] Linux-IrDA status Michael Rothwell
  2000-11-08  5:23   ` Linus Torvalds
@ 2000-11-08  7:26   ` Linus Torvalds
  2000-11-08  8:14     ` Russell King
                       ` (2 more replies)
  1 sibling, 3 replies; 17+ messages in thread
From: Linus Torvalds @ 2000-11-08  7:26 UTC (permalink / raw)
  To: Michael Rothwell; +Cc: jt, Kernel Mailing List, Alan Cox, Dag Brattli



On Wed, 8 Nov 2000, Michael Rothwell wrote:
> 
> Like what? I'm not sure what you're saying here. It seems that the pople
> writing the IrDA code have gotten no feedback from you as to why their
> patch is never accepted -- could you clarify?

Just to clarify.

The ONLY message from the IrDA people I've gotten during the last few
weeks has been a SINGLE email from Dag Brattli, with a 330kB patch.

The whole, full, unabridged explanation for those 330kB of patches:

>> Hello Linus,
>> 
>> Here is the latest IrDA patch for Linux-2.4.0-test10. 
>> 
>> Short summary: 
>> 
>> o Fixes IrDA in 2.4
>> o Touches _no_ other files. 
>> 
>> Please apply! 
>> 
>> Best regards
>> 
>> Dag Brattli

That's it.

ONE message during the last month. ONE huge patch. From people who should
have known about 2.4.x being pending for some time. 

10,000+ lines of diff, with _no_ effort to split it up, or explain it with
anything but

	"o Fixes IrDA in 2.4"

and these people expect me to reply, sending long explanations of why I
don't like them? After they did nothing of the sort for the code they
claim should have been applied? Nada.

Get a grip. 

		Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08  1:38   ` Jean Tourrilhes
@ 2000-11-08  8:12     ` Russell King
  0 siblings, 0 replies; 17+ messages in thread
From: Russell King @ 2000-11-08  8:12 UTC (permalink / raw)
  To: jt; +Cc: Jeff Garzik, Linux kernel mailing list, Dag Brattli

Jean Tourrilhes writes:
> 	If you can break up stuff that has accumulated over one year,
> please tell me so. Most of the original patches have been lost in the
> mist of time. We could send it file by file, but that would give some
> interesting results ;-)

<rant mode=on>
That doesn't work either ;(  Some of Dag's patches were from me, and I
have even tried sending Linus small self-contained obviously correct patches
for IrDA, but they just don't go in, and, dispite me asking several times
for an explaination why they are not, I've never received an answer.

Its almost although Linus is no longer interested in kernel support for IrDA.
I really don't know why Linus doesn't drop the whole IrDA stuff out of the
kernel if he's not willing to let people maintain it.

The latest changes to the initcall stuff in 2.4.0-test10 *did* affect IrDA,
but now every IrDA patch out there to get it working requires fixing up.

Linus, can we PLEASE have an explaination as to what is going on with IrDA?
<rant mode=off>
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
@ 2000-11-08  8:14     ` Russell King
  2000-11-08 12:15     ` [RANT] Linux-IrDA status, " Dag Brattli
  2000-11-08 12:31     ` Michael Rothwell
  2 siblings, 0 replies; 17+ messages in thread
From: Russell King @ 2000-11-08  8:14 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Michael Rothwell, jt, Kernel Mailing List, Alan Cox, Dag Brattli

Linus Torvalds writes:
> ONE message during the last month. ONE huge patch. From people who should
> have known about 2.4.x being pending for some time. 
> 
> 10,000+ lines of diff, with _no_ effort to split it up, or explain it with
> anything but
> 
> 	"o Fixes IrDA in 2.4"
> 
> and these people expect me to reply, sending long explanations of why I
> don't like them? After they did nothing of the sort for the code they
> claim should have been applied? Nada.
> 
> Get a grip. 

Linus,

You know full well that I have sent you *small* self-contained obviously
correct patches since 2.4.0-test2 onwards.  Why haven't these been applied
when the only argument against it is "ONE huge patch"?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status, Re: [RANT] Linux-IrDA status
  2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
  2000-11-08  8:14     ` Russell King
@ 2000-11-08 12:15     ` Dag Brattli
  2000-11-10 21:24       ` Pavel Machek
  2000-11-08 12:31     ` Michael Rothwell
  2 siblings, 1 reply; 17+ messages in thread
From: Dag Brattli @ 2000-11-08 12:15 UTC (permalink / raw)
  To: torvalds; +Cc: jt, linux-kernel, alan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3611 bytes --]

Hi Linus,

I agree that the latest patch wasn't good about specifying its contents. 
But in fact, the 26th of august I sent you a mail which was much better
(but then your mailbox crashed or something!?) Since you hadn't applied 
any previoius patches (and not even the  patches from Russell), I felt that you
wasn't to interested about IrDA (even if Transmeta is a member of IrDA these 
days ;-) or didn't have time to look thru them. So that's the reason for the 
very short description. I'm sorry about that!

I've watched the ISDN discussion a year ago, so I already knew what you
felt about such large patches. The truth is that I've been very busy with my 
new job, and haven't had much time to maintain the Linux-IrDA project, so 
those large patches was the best I could do, and it's correct that I haven't  
actually flooded you with patches the last 6 months.

But we should anyway discuss what to do with IrDA support in Linux 2.4. 
The state of the current IrDA code in 2.4 is very bad and probably not 
working at all. The latest patch may have some bad code as well but at 
least things are working (and Linux isn't the OS which is best known for it's
beautiful code anyway). It will eventually be fixed, once people start 
complaining!

Some options:

1) Split up the large patch and fix the things you didn't like, submit them
with better discription. But then It's probably to late anyway for 2.4 (even if 
the 2.4-test series is not the most stable stuff I've tried). Is it to late for this?

2) Remove IrDA from the kernel, and we'll go back to using CVS and 
make our own package (like PCMCIA and IrDA was before they got 
into the kernel. At least PCMCIA used to work back then ;-)

3) Just apply the stuff!?! Look at Jean's mail for description of the changes.

-- Dag

On Tue, 7 Nov 2000 23:26:34 -0800 (PST), you wrote:
> 
> 
> On Wed, 8 Nov 2000, Michael Rothwell wrote:
> > 
> > Like what? I'm not sure what you're saying here. It seems that the pople
> > writing the IrDA code have gotten no feedback from you as to why their
> > patch is never accepted -- could you clarify?
> 
> Just to clarify.
> 
> The ONLY message from the IrDA people I've gotten during the last few
> weeks has been a SINGLE email from Dag Brattli, with a 330kB patch.
> 
> The whole, full, unabridged explanation for those 330kB of patches:
> 
> >> Hello Linus,
> >> 
> >> Here is the latest IrDA patch for Linux-2.4.0-test10. 
> >> 
> >> Short summary: 
> >> 
> >> o Fixes IrDA in 2.4
> >> o Touches _no_ other files. 
> >> 
> >> Please apply! 
> >> 
> >> Best regards
> >> 
> >> Dag Brattli
> 
> That's it.
> 
> ONE message during the last month. ONE huge patch. From people who should
> have known about 2.4.x being pending for some time. 
> 
> 10,000+ lines of diff, with _no_ effort to split it up, or explain it with
> anything but
> 
> 	"o Fixes IrDA in 2.4"
> 
> and these people expect me to reply, sending long explanations of why I
> don't like them? After they did nothing of the sort for the code they
> claim should have been applied? Nada.
> 
> Get a grip. 
> 
> 		Linus
> 
> 
> 
----
Dag Brattli,                       Mail:  dagb@fast.no
Senior Systems Engineer            Web:   http://www.fast.no/
Fast Search & Transfer ASA         Phone: +47 776 96 688
P.O. Box 1126                      Fax:   +47 776 96 689
NO-9261 Tromsø, NORWAY             Cell:  +47 924 05 388

Try FAST Search: http://www.alltheweb.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
  2000-11-08  8:14     ` Russell King
  2000-11-08 12:15     ` [RANT] Linux-IrDA status, " Dag Brattli
@ 2000-11-08 12:31     ` Michael Rothwell
  2 siblings, 0 replies; 17+ messages in thread
From: Michael Rothwell @ 2000-11-08 12:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: jt, Kernel Mailing List, Alan Cox, Dag Brattli

Linus Torvalds wrote:
> and these people expect me to reply, sending long explanations of why I
> don't like them? After they did nothing of the sort for the code they
> claim should have been applied? Nada.

Did you say that to them? I'm not saying you're wrong; but did you tell
them that? It might make your life easier if you make a faq on "how to
get your code accepted" and another on "how to get your code rejected."
Then you could send people off to read those, and maybe even site a
"violates #6" or whatever.

> Get a grip.

Help a little.

-M
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
       [not found] ` <200011081204.MAA68767@tepid.osl.fast.no>
@ 2000-11-08 18:20   ` Jean Tourrilhes
  0 siblings, 0 replies; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-08 18:20 UTC (permalink / raw)
  To: Dag Brattli; +Cc: torvalds, alan, jgarzik, linux-kernel

On Wed, Nov 08, 2000 at 12:04:05PM +0000, Dag Brattli wrote:
> 
> Hi,
> 
> It was implemented this way because the IrDA device drivers are implemented
> like normal network device drivers and didn't want to mess with struct netdevice
> in order to change the speed of the driver. I decided to use ioctl since it had to
> be possible to do this from user-space (sniffers) as well as from the IrDA stack. 
> The only thing the IrDA stack knows about is the netdevice. Some frames we
> receive will trigger a speed change which we must handle from within the
> stack (so it's inside the bh and not actually in the "hard" interrupt)
> 
> What do you suggest I do?
> 
> 1. Add a change_speed() function to struct netdevice
> 2. Add a protocol specific pointer to struct netdevice
> 3. Embed the speed in skb->cb and send down empty frames
>     when I want to change the speed without transmitting anything.
> 4. Anything else?

	If somebody tell us which is the "right way", I'll try to code
that ASAP. We take any feedback very seriously ;-)
	I personally would go with #1, because "struct netdevice" is
full of protocol specific stuff anyway... And if we do our job right,
it can be reused for other stuff.

	Any comments ?

> -- Dag

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (+ more flames)
       [not found]     ` <20001109192404.B25828@bougret.hpl.hp.com>
@ 2000-11-10  3:50       ` Jean Tourrilhes
  2000-11-10 19:56       ` The IrDA patches !!! (was Re: [RANT] Linux-IrDA status) Linus Torvalds
  1 sibling, 0 replies; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-10  3:50 UTC (permalink / raw)
  To: Kernel Mailing List

On Thu, Nov 09, 2000 at 07:24:04PM -0800, Jean Tourrilhes wrote:
> 
>         I spent my full day going through my archives and splitting
> the big patch of Dag into lots of small patches (see attached). I'm
> glad I've got a big hard drive full of junk.

	By the way, while I'm in flaming mode, could somebody tell ESR
that this patch split (as well as most of the patches themselves) was
sponsored by HP ? He should check his fact more carefully before
jumping on his guns, he seem one of the few who haven't visited the
Wireless LAN Howto...

	Now I can cool down...

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (was Re: [RANT] Linux-IrDA status)
       [not found]     ` <20001109192404.B25828@bougret.hpl.hp.com>
  2000-11-10  3:50       ` The IrDA patches !!! (+ more flames) Jean Tourrilhes
@ 2000-11-10 19:56       ` Linus Torvalds
  2000-11-10 21:25         ` Jean Tourrilhes
  2000-11-11 12:04         ` Horst von Brand
  1 sibling, 2 replies; 17+ messages in thread
From: Linus Torvalds @ 2000-11-10 19:56 UTC (permalink / raw)
  To: jt; +Cc: Michael Rothwell, Kernel Mailing List, Alan Cox, Dag Brattli



On Thu, 9 Nov 2000, Jean Tourrilhes wrote:
> 
> 	I spent my full day going through my archives and splitting
> the big patch of Dag into lots of small patches (see attached). I'm
> glad I've got a big hard drive full of junk.

When I say multiple mails, I mean multiple mails. NOT "26 attachements in
one mail". In fact, not a single attachment at all, please. Send me
patches as a regular text body, with the explanation at the top, and the
patch just appended.

Why?

Attachements may look simple, but they are not. I end up having to open
each and every one of them individually, remembering which one I've
checked, save them off individually, remembering what the file name was,
and then apply them each individually.

See the picture? Attachements are evil. 

In contrast, imagine that you (and everybody else) sends me plain-text
patches, with just an explanation on top. What do I do?

I see the explanation immediately when I open the mail (ie when I press
the "n" key for "next email").

I can save it off with a simple "s../doit", which saves it in _one_ "doit"
file appended to all the other pending stuff. Alternatively, I can skip
it, or leave it pending, and let the _mail_software_ remember whether I
answered that particular patch.

I can reply to it individually, and that patch (and nothing else) will be
automatically set up for the reply so that I can easily quote whatever
parts I want to point out.

I can apply all the patches that I have approved with a single

	patch -p1 < ~/doit

without having to go through them individually.

None of the above works with attachments. 

> > Basically, if you send me a big patch with tons of changes, how the hell
> > DO you expect me to answer them? Does anybodt really expect me to go
> > through ten thousand lines of code that I do not know, and comment on it?
> > Obviously not, as anybody with an ounce of sense would see.
> 
> 	If somebody send you 1000 lines in one go or as 100 times 10
> lines, it doesn't matter, it is still 1000 lines of code to read
> through. Even small patches can be totally obscure for somebody not
> familiar with the code and what it is supposed to do.

You are WRONG.

10 emails with 1000-line patches are _much_ easier to handle. I can
clearly see the parts that belong together (nothing is mixed up with other
issues), and I can keep the explanation in mind. I do not have to remind
myself what that particular piece is doing.

It has other advantages too. With a single 10000-line patch, if I don't
like something, I have a hard time just removing THAT part. So I have to
reject the whole f*cking patch, and the person who sent it to me has to
fix up the whole thing (assuming I'd bother answering to it, poitning out
the parts that I don't like from the large patch, which I will not).

With 10 1000-line emails, I can decide to apply 8 of them outright, apply
one with comments, and discard one that does something particularly
nauseating. And I can much more easily explain to the submitter which one
I hate, without having to edit it down.

See?

		Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: [RANT] Linux-IrDA status
  2000-11-08 12:15     ` [RANT] Linux-IrDA status, " Dag Brattli
@ 2000-11-10 21:24       ` Pavel Machek
  0 siblings, 0 replies; 17+ messages in thread
From: Pavel Machek @ 2000-11-10 21:24 UTC (permalink / raw)
  To: Dag Brattli; +Cc: jt, linux-kernel, alan

Hi!

> Some options:
> 
> 1) Split up the large patch and fix the things you didn't like, submit them
> with better discription. But then It's probably to late anyway for 2.4 (even if 
> the 2.4-test series is not the most stable stuff I've tried). Is it
> to late for this?

Probably not. Get tytso to agree that broken IrDA is critical bug,
split patches, and see them accepted.

> 2) Remove IrDA from the kernel, and we'll go back to using CVS and 
> make our own package (like PCMCIA and IrDA was before they got 
> into the kernel. At least PCMCIA used to work back then ;-)

Do not do that, please.

> 3) Just apply the stuff!?! Look at Jean's mail for description of
> the changes.
								Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (was Re: [RANT] Linux-IrDA status)
  2000-11-10 19:56       ` The IrDA patches !!! (was Re: [RANT] Linux-IrDA status) Linus Torvalds
@ 2000-11-10 21:25         ` Jean Tourrilhes
  2000-11-12  2:43           ` Linus Torvalds
  2000-11-11 12:04         ` Horst von Brand
  1 sibling, 1 reply; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-10 21:25 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List, Alan Cox

On Fri, Nov 10, 2000 at 11:56:57AM -0800, Linus Torvalds wrote:
> 
> When I say multiple mails, I mean multiple mails. NOT "26 attachements in
> one mail". In fact, not a single attachment at all, please. Send me
> patches as a regular text body, with the explanation at the top, and the
> patch just appended.

	No problem, they are going to come this way. Your mailbox
should be full by tonight.
	Please remember that they are *incremental*, skipping some of
them may work, skipping others may fail. I can't do much about that
because this is the way things are developped (patch of a patch).

> I can reply to it individually, and that patch (and nothing else) will be
> automatically set up for the reply so that I can easily quote whatever
> parts I want to point out.

	Good. I didn't know this featured existed ;-)

> You are WRONG.
> 
> 10 emails with 1000-line patches are _much_ easier to handle. I can
> clearly see the parts that belong together (nothing is mixed up with other
> issues), and I can keep the explanation in mind. I do not have to remind
> myself what that particular piece is doing.
> 
> It has other advantages too. With a single 10000-line patch, if I don't
> like something, I have a hard time just removing THAT part. So I have to
> reject the whole f*cking patch, and the person who sent it to me has to
> fix up the whole thing (assuming I'd bother answering to it, poitning out
> the parts that I don't like from the large patch, which I will not).
> 
> With 10 1000-line emails, I can decide to apply 8 of them outright, apply
> one with comments, and discard one that does something particularly
> nauseating. And I can much more easily explain to the submitter which one
> I hate, without having to edit it down.

	Yes, you are right, and I realised it looking back to some of
the patches. But this needs to be balanced against the cost of context
switches, especially for IrDA code.

> See?
> 
> 		Linus

	I hope you realise that I'm only acting as a facilitator and
doing the work of Dag, because I need to get IrDA in proper shape in
2.4 (because I need IrNET), and because most of the patches are mines
(see comments). So yes, I did flame, but it was only to get things
moving and remove the deadlock, so let's forget about the bad words...
	Dag will keep being the IrDA maintainer (I hope he will have
learned his lesson), and I hope you will finish the whole process with
Dag, because next week is a Wireless LAN week for me ;-) And I should
also look at BlueTooth PAN if ever I've got time :-(

	For the patches : I'll send them to you personally, there is
no need to abuse further the LKML (they have the attachement
version). They will be formated as described above. I hope my little
fingers won't do any mistakes ;-)

	Have fun, and thanks again for taking the time to sort out the
issues ;-)

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (was Re: [RANT] Linux-IrDA status)
  2000-11-10 19:56       ` The IrDA patches !!! (was Re: [RANT] Linux-IrDA status) Linus Torvalds
  2000-11-10 21:25         ` Jean Tourrilhes
@ 2000-11-11 12:04         ` Horst von Brand
  1 sibling, 0 replies; 17+ messages in thread
From: Horst von Brand @ 2000-11-11 12:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List, Alan Cox

Linus Torvalds <torvalds@transmeta.com> said:
> On Thu, 9 Nov 2000, Jean Tourrilhes wrote:
> > 
> > 	I spent my full day going through my archives and splitting
> > the big patch of Dag into lots of small patches (see attached). I'm
> > glad I've got a big hard drive full of junk.
> 
> When I say multiple mails, I mean multiple mails. NOT "26 attachements in
> one mail". In fact, not a single attachment at all, please. Send me
> patches as a regular text body, with the explanation at the top, and the
> patch just appended.
> 
> Why?
>
> [Nice explanation snipped]

How about placing this (slightly edited, and with some other stuff thrown
in perhaps?) in a SUBMITTING-PATCHES file in the top of the kernel sources,
so nobody can overlook it?
--
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (was Re: [RANT] Linux-IrDA status)
  2000-11-10 21:25         ` Jean Tourrilhes
@ 2000-11-12  2:43           ` Linus Torvalds
  2000-11-12  3:12             ` Jean Tourrilhes
  0 siblings, 1 reply; 17+ messages in thread
From: Linus Torvalds @ 2000-11-12  2:43 UTC (permalink / raw)
  To: jt; +Cc: Kernel Mailing List, Alan Cox



Ok, thanks to the work of Jean, everything seems to be applied now.

I'll make a test3 one of these days (probably tomorrow), please verify
that everything looks happy.

		Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: The IrDA patches !!! (was Re: [RANT] Linux-IrDA status)
  2000-11-12  2:43           ` Linus Torvalds
@ 2000-11-12  3:12             ` Jean Tourrilhes
  0 siblings, 0 replies; 17+ messages in thread
From: Jean Tourrilhes @ 2000-11-12  3:12 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List, Alan Cox, Dag Brattli

On Sat, Nov 11, 2000 at 06:43:26PM -0800, Linus Torvalds wrote:
> 
> 
> Ok, thanks to the work of Jean, everything seems to be applied now.
> 
> I'll make a test3 one of these days (probably tomorrow), please verify
> that everything looks happy.
> 
> 		Linus

	Linus,

	Sorry to bother you again, but a important note...
	I sent you the whole serie of patches. Then Dag sent it to you
again today. The patches were the same *except* for #14. Dag did
replace the original #14 patch that you didn't like with a cleaner
version (using empty packet to trigger speed changes).
	I'm sorry for the confusion. But don't worry, we will adjust
for whatever you put in test3 and work from there, so please don't do
anything ;-) And yes, I'll put it to the usual tests...

	And thanks again for taking the time to go through the patches
so quickly. We do appreciate your great work ;-)

	Have fun ;-)

	Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-12 15:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.10.10011072030070.15254-100000@penguin.transmeta.com>
2000-11-08  5:08 ` [RANT] Linux-IrDA status Michael Rothwell
2000-11-08  5:23   ` Linus Torvalds
     [not found]     ` <20001109192404.B25828@bougret.hpl.hp.com>
2000-11-10  3:50       ` The IrDA patches !!! (+ more flames) Jean Tourrilhes
2000-11-10 19:56       ` The IrDA patches !!! (was Re: [RANT] Linux-IrDA status) Linus Torvalds
2000-11-10 21:25         ` Jean Tourrilhes
2000-11-12  2:43           ` Linus Torvalds
2000-11-12  3:12             ` Jean Tourrilhes
2000-11-11 12:04         ` Horst von Brand
2000-11-08  7:26   ` [RANT] Linux-IrDA status Linus Torvalds
2000-11-08  8:14     ` Russell King
2000-11-08 12:15     ` [RANT] Linux-IrDA status, " Dag Brattli
2000-11-10 21:24       ` Pavel Machek
2000-11-08 12:31     ` Michael Rothwell
     [not found] <Pine.LNX.4.10.10011072027520.15254-100000@penguin.transmeta.com>
     [not found] ` <200011081204.MAA68767@tepid.osl.fast.no>
2000-11-08 18:20   ` Jean Tourrilhes
2000-11-08  1:14 Jean Tourrilhes
     [not found] ` <3A08AB56.10BD5007@mandrakesoft.com>
2000-11-08  1:38   ` Jean Tourrilhes
2000-11-08  8:12     ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox