lkml.org 
[lkml]   [2008]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Improve Documentation/stable_api_nonsense.txt
On Tue, Jan 29, 2008 at 12:40:18PM +0200, Heikki Orsila wrote:
> CC'ing Andi as he commented also..
>
> On Mon, Jan 28, 2008 at 08:48:05PM -0800, Greg KH wrote:
> > On Tue, Jan 29, 2008 at 01:09:59AM +0200, Heikki Orsila wrote:
> > > * Make a remark about avoiding unnecessary changes in interfaces
> > > * Improve wording
> >
> > Well, "improve" is a bit judgemental :)
>
> The places I corrected were somewhat unreadable English in my opinion.
> The problem with this text is mostly
> style that breaks common sense rules how to write simple sentences.
> Documentation should not try to represent its writer but convey
> the idea as well as possible.

I strongly disagree with this. If you are reading documentation, you
should at least be intertained a bit, and if you take the "flavor" of
the writer out of it entirely, it becomes quite boring and dry.

> > > @@ -68,11 +68,11 @@ consider the following facts about the Linux kernel:
> > > There is no way that binary drivers from one architecture will run
> > > on another architecture properly.
> > >
> > > -Now a number of these issues can be addressed by simply compiling your
> > > -module for the exact specific kernel configuration, using the same exact
> > > +Now, a number of these issues can be addressed by simply compiling your
> > > +module for the same kernel configuration, using the same
> >
> > No, I want to emphasize the word "exact" here. It has to be the same.
>
> Do you want preserve both "exact specific" and "same exact"?

Both.

> Imo,
> "same exact C compiler" is just bad language, because C compilers are
> always "exact". "exactly same C compiler" would do.

No, "exactly same C compiler" doesn't parse well in English.

> > > C compiler that the kernel was built with. This is sufficient if you
> > > want to provide a module for a specific release version of a specific
> > > -Linux distribution. But multiply that single build by the number of
> > > +Linux distribution. However, multiply that single build by the number of
> >
> > You messed with the "two space" rule, and changed the word unecessarily
> > in my opinion.
> >
> > > different Linux distributions and the number of different supported
> > > releases of the Linux distribution and you quickly have a nightmare of
> > > different build options on different releases. Also realize that each
> > > @@ -93,7 +93,7 @@ keep a Linux kernel driver that is not in the main kernel tree up to
> > > date over time.
> > >
> > > Linux kernel development is continuous and at a rapid pace, never
> > > -stopping to slow down. As such, the kernel developers find bugs in
> > > +slowing down. As such, the kernel developers find bugs in
> >
> > No, they never stop, I say leave it as is.
>
> Imo, that statement is very odd. The meaning of it has to be guessed.
> "never slowing down" is very simple and conveys the essential idea.

Hm, but you understood the idea conveyed here, right? That's the
important issue, we can argue about the exact structure of words all
day, which will get us no where.

> > > @@ -116,7 +116,7 @@ issues:
> > >
> > > This is in stark contrast to a number of closed source operating systems
> > > which have had to maintain their older USB interfaces over time. This
> > > -provides the ability for new developers to accidentally use the old
> > > +has the risk for new developers to accidentally use the old
> >
> > It's not so much as a "risk" as it is what always seems to happen. So I
> > don't like this change either.
>
> No, it's definitely more "risk" than "ability" because "ability" should
> refer to a positive property. Here "ability" is used to refer to a
> "negative outcome".

Ok, fair enough, I can agree with that.

> > > @@ -145,6 +145,10 @@ as small as possible, and that all potential interfaces are tested as
> > > well as they can be (unused interfaces are pretty much impossible to
> > > test for validity.)
> > >
> > > +Some complain that kernel interfaces change too often for out-of-the-tree
> > > +modules, but this claim is false. Changing an interface can be delicate work,
> > > +and it can take significant amount of developer effort. Therefore, interfaces
> > > +are not changed without a good reason.
> >
> > No, their claim is a valid one, it's not "false". However we are not
> > going to do anything about it, and as such, we don't need this kind of
> > wording to get people worried about it even more.
>
> How about this (scrap the whole paragraph):
>
> Changing an interface can be delicate work and it can take significant
> amount of developer effort. Therefore, an interface is not changed
> unless the change is regarded as very important by the developers.

Why do you feel this paragraph is needed at all?

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-01-29 14:17    [W:0.053 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site