2003-02-21 14:44:49

by Paolo Ornati

[permalink] [raw]
Subject: [PATCH 2.5.x, 2.4.x ...] very small

A very small patch (my first patch :-) for Documentation/spinlocks.txt:
it replace "IFF" with "IF" ;-)

bye,
Paolo

--- Documentation/spinlocks.txt.orig Fri Feb 21 15:02:01 2003
+++ Documentation/spinlocks.txt Fri Feb 21 15:02:44 2003
@@ -136,7 +136,7 @@

If you have a case where you have to protect a data structure across
several CPU's and you want to use spinlocks you can potentially use
-cheaper versions of the spinlocks. IFF you know that the spinlocks are
+cheaper versions of the spinlocks. IF you know that the spinlocks are
never used in interrupt handlers, you can use the non-irq versions:

spin_lock(&lock);


2003-02-21 15:06:13

by Brian Gerst

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

javaman wrote:
> A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> it replace "IFF" with "IF" ;-)
>
> bye,
> Paolo
>
> --- Documentation/spinlocks.txt.orig Fri Feb 21 15:02:01 2003
> +++ Documentation/spinlocks.txt Fri Feb 21 15:02:44 2003
> @@ -136,7 +136,7 @@
>
> If you have a case where you have to protect a data structure across
> several CPU's and you want to use spinlocks you can potentially use
> -cheaper versions of the spinlocks. IFF you know that the spinlocks are
> +cheaper versions of the spinlocks. IF you know that the spinlocks are
> never used in interrupt handlers, you can use the non-irq versions:
>
> spin_lock(&lock);
>

This is wrong. IFF means "If and only if".

--
Brian Gerst


2003-02-21 15:03:26

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small


On Fri, 21 Feb 2003, javaman wrote:
>
> A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> it replace "IFF" with "IF" ;-)

The IFF is just a way of saying "if and only if". So it's not actually a
typo, it's just that some of the kernel people probably took a few too
many courses in mathematics and their English-language skills were
impacted by it.

Linus

2003-02-21 15:07:52

by Dave Jones

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

On Fri, Feb 21, 2003 at 03:25:17PM +0100, javaman wrote:
> A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> it replace "IFF" with "IF" ;-)

IFF is "If and only if"

I think its horrible too, but unfortunatly, its real..
http://www.m-w.com/cgi-bin/dictionary?va=IFF

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2003-02-21 15:00:59

by Murray J. Root

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

On Fri, Feb 21, 2003 at 03:25:17PM +0100, javaman wrote:
> A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> it replace "IFF" with "IF" ;-)
>
> bye,
> Paolo
>
> --- Documentation/spinlocks.txt.orig Fri Feb 21 15:02:01 2003
> +++ Documentation/spinlocks.txt Fri Feb 21 15:02:44 2003
> @@ -136,7 +136,7 @@
>
> If you have a case where you have to protect a data structure across
> several CPU's and you want to use spinlocks you can potentially use
> -cheaper versions of the spinlocks. IFF you know that the spinlocks are
> +cheaper versions of the spinlocks. IF you know that the spinlocks are
> never used in interrupt handlers, you can use the non-irq versions:
>
> spin_lock(&lock);
>

IFF is usually an abbreviation for "If and only if", not a typo.

--
Murray J. Root

2003-02-21 16:57:14

by Steven Cole

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

On Fri, 2003-02-21 at 08:30, Dave Jones wrote:
> On Fri, Feb 21, 2003 at 03:25:17PM +0100, javaman wrote:
> > A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> > it replace "IFF" with "IF" ;-)
>
> IFF is "If and only if"
>
> I think its horrible too, but unfortunatly, its real..
> http://www.m-w.com/cgi-bin/dictionary?va=IFF
>
> Dave

And you didn't like youu for "you and only you" too!

For the benefit of any of you trying your hand at fixing typos and
spelling, please make sure you're not "fixing" accepted British or
Canadian spelling. See
http://www3.telus.net/linguisticsissues/BritishCanadianAmerican.htm

Many others can be found by Googling. Hmm, my spelling checker doesn't
like googling yet.

Steven


2003-02-21 17:12:56

by Paolo Ornati

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

On Friday 21 February 2003 16:08, you wrote:
> On Fri, 21 Feb 2003, javaman wrote:
> > A very small patch (my first patch :-) for Documentation/spinlocks.txt:
> > it replace "IFF" with "IF" ;-)
>
> The IFF is just a way of saying "if and only if". So it's not actually a
> typo, it's just that some of the kernel people probably took a few too
> many courses in mathematics and their English-language skills were
> impacted by it.
>
> Linus

... sorry, I'm Italian and my English isn't very well ;-)
next time I'll look at http://www.m-w.com/cgi-bin/dictionary?va=XX

BYE,
Paolo

2003-02-21 19:21:38

by Thomas Molina

[permalink] [raw]
Subject: Re: [PATCH 2.5.x, 2.4.x ...] very small

On Fri, 21 Feb 2003, Linus Torvalds wrote:

> The IFF is just a way of saying "if and only if". So it's not actually a
> typo, it's just that some of the kernel people probably took a few too
> many courses in mathematics and their English-language skills were
> impacted by it.

And the only people I ever heard use "impacted" were dentists, government
bureaucrats, and military officers.