On Wed, 9 May 2007, Alan Cox wrote: > > Thus, any reliance on type-qualifying an object that represents an atomic > > or locking primitive on the keyword 'volatile' is misplaced. > > arch/foo is generally implementation specific code. > That's true, but what qualifies as an "access" to an object that is type qualified with the 'volatile' keyword is _implementation_ defined, meaning the behavior is defined by the compiler and not this new architecture you're proposing 'volatile' is appropriate for. That's pure C99. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] doc: volatile considered evil
- From: Alan Cox <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- References:
- [RFC, PATCH 2/4] SoC base drivers: ASIC3 SoC hardware definitions
- From: Paul Sokolovsky <[email protected]>
- Re: [RFC, PATCH 2/4] SoC base drivers: ASIC3 SoC hardware definitions
- From: Andrew Morton <[email protected]>
- [RFC/PATCH] doc: volatile considered evil
- From: Randy Dunlap <[email protected]>
- Re: [RFC/PATCH] doc: volatile considered evil
- From: "Satyam Sharma" <[email protected]>
- [PATCH] doc: volatile considered evil
- From: Randy Dunlap <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: David Rientjes <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: Randy Dunlap <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: David Rientjes <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: Alan Cox <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: David Rientjes <[email protected]>
- Re: [PATCH] doc: volatile considered evil
- From: Alan Cox <[email protected]>
- [RFC, PATCH 2/4] SoC base drivers: ASIC3 SoC hardware definitions
- Prev by Date: Re: [GIT PATCH] final SCSI updates for 2.6.21
- Next by Date: [PATCH] ocfs2: kobject/kset foobar
- Previous by thread: Re: [PATCH] doc: volatile considered evil
- Next by thread: Re: [PATCH] doc: volatile considered evil
- Index(es):