login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
2
Re: [PATCH] mark read_crX() asm code as volatile
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
H. Peter Anvin <hpa@...>
To: Arjan van de Ven <arjan@...>
Cc: Kirill Korotaev <dev@...>, Andrew Morton <akpm@...>, Andi Kleen <ak@...>, Linux Kernel Mailing List <linux-kernel@...>, <devel@...>
Subject:
Re: [PATCH] mark read_crX() asm code as volatile
Date: Tuesday, October 2, 2007 - 3:21 pm
Arjan van de Ven wrote:
quoted text
> On Tue, 02 Oct 2007 18:08:32 +0400 > Kirill Korotaev <dev@openvz.org> wrote: > >> Some gcc versions (I checked at least 4.1.1 from RHEL5 & 4.1.2 from >> gentoo) can generate incorrect code with read_crX()/write_crX() >> functions mix up, due to cached results of read_crX(). >> > > I'm not so sure volatile is the right answer, as compared to giving the > asm more strict contraints.... > > asm volatile tends to mean something else than "the result has > changed".... >
One of the aspect of volatility is "the result will change in ways you (gcc) just don't understand." -hpa -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] mark read_crX() asm code as volatile
, Kirill Korotaev
, (Tue Oct 2, 10:08 am)
Re: [PATCH] mark read_crX() asm code as volatile
, Arjan van de Ven
, (Tue Oct 2, 11:28 am)
Re: [PATCH] mark read_crX() asm code as volatile
, Kirill Korotaev
, (Wed Oct 3, 4:25 am)
Re: [PATCH] mark read_crX() asm code as volatile
, H. Peter Anvin
, (Tue Oct 2, 3:21 pm)
Re: [PATCH] mark read_crX() asm code as volatile
, Chuck Ebbert
, (Tue Oct 2, 2:27 pm)
Re: [PATCH] mark read_crX() asm code as volatile
, Nick Piggin
, (Tue Oct 2, 8:14 am)
Re: [PATCH] mark read_crX() asm code as volatile
, H. Peter Anvin
, (Wed Oct 3, 2:18 am)
Re: [PATCH] mark read_crX() asm code as volatile
, Nick Piggin
, (Tue Oct 2, 11:49 am)
Re: [PATCH] mark read_crX() asm code as volatile
, Andi Kleen
, (Wed Oct 3, 4:45 am)
Re: [PATCH] mark read_crX() asm code as volatile
, Andi Kleen
, (Tue Oct 2, 10:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Eric W. Biederman
[PATCH 02/10] sysfs: Support for preventing unmounts.
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Re: LSM conversion to static interface
git
:
openbsd-misc
:
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Timo Teräs
Re: xfrm_state locking regression...
Colocation donated by:
Who's online
There are currently
2 users
and
777 guests
online.
Online users
zeekec
twitterfollowb
Syndicate