[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.99.0705081702070.28511@chino.kir.corp.google.com>
Date: Tue, 8 May 2007 17:06:23 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Randy Dunlap <randy.dunlap@...cle.com>
cc: Satyam Sharma <satyam.sharma@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Paul Sokolovsky <pmiscml@...il.com>,
linux-kernel@...r.kernel.org, jeremy@...p.org
Subject: Re: [PATCH] doc: volatile considered evil
On Tue, 8 May 2007, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Add information on the problems with the C-language "volatile" keyword
> and why it should not be used (most of the time).
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> ---
> Documentation/volatile-usage.txt | 129 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 129 insertions(+)
>
> --- /dev/null
> +++ linux-2.6.21-git10/Documentation/volatile-usage.txt
> @@ -0,0 +1,129 @@
> +***** "volatile" considered useless and evil: Just Say NO! *****
> +
> +Do not use the C-language "volatile" keyword
> +(extracted from lkml emails from Linus)
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
Again, please change this sweeping introduction to explicitly state that
Linus' emails were a criticism of using 'volatile' for objects (he refers
to them as "data structures") and can be appropriate for asm constructs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists