login
Header Space

 
 

Re: use of volatile in iounmap()?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: LKML <linux-kernel@...>, Ingo Molnar <mingo@...>
Date: Friday, March 28, 2008 - 5:04 pm

On Fri, Mar 28, 2008 at 01:51:12PM -0700, H. Peter Anvin wrote:
If I understand you correct then it is then not wrong to say
that we have the argument volatile to avoid warnings from gcc
when we pass a volatile pointer.

And then having the pointer marked volatile put a few restrictions
on iounmap().


Yes - but unfortunately the volatile-considered-harmful.txt
does many deal with the data part.

Thanks,
	Sam
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
use of volatile in iounmap()?, Sam Ravnborg, (Fri Mar 28, 4:34 pm)
Re: use of volatile in iounmap()?, Al Viro, (Fri Mar 28, 5:17 pm)
Re: use of volatile in iounmap()?, H. Peter Anvin, (Fri Mar 28, 4:51 pm)
Re: use of volatile in iounmap()?, Sam Ravnborg, (Fri Mar 28, 5:04 pm)
Re: use of volatile in iounmap()?, H. Peter Anvin, (Fri Mar 28, 5:07 pm)
speck-geostationary