login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
28
Re: [GIT PULL] Correct the SMAP check in the e820 probe
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: Linus Torvalds <torvalds@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <jkeating@...>, <cebbert@...>, <jordan.crouse@...>, <pommnitz@...>
Subject:
Re: [GIT PULL] Correct the SMAP check in the e820 probe
Date: Friday, September 28, 2007 - 1:03 pm
Linus Torvalds wrote:
quoted text
> > Hmm. If I read this correctly, I don't think this can be right. > > Why? You don't mark %edx as possibly corrupted by the asm any more. > > The "=dm" means that quite often (probably effectively always), gcc will > allocate %edx to be the output register for %0, but at least in theory, it > could easily decide that it's going to put %0 in memory, and in that case, > it may well decide that %edx is not modified by the asm statement. Which > may or may not be true - I'd bet that there are BIOSes out there that *do* > modify it. >
Yes indeed.
quoted text
> > IOW, I think you need to either (a) _force_ gcc to use %edx for the "err" > return, avoiding this issue, or (b) mark edx clobbered (which in turn > means that you need to remove it from the output constraint for "err"). I > suspect (a) is simpler/more straightforward. > > I haven't pulled this, so maybe you can just amend the commit in-place, > and we can avoid? >
Will do. -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:
[GIT PULL] Correct the SMAP check in the e820 probe
, H. Peter Anvin
, (Fri Sep 28, 4:56 am)
Re: [GIT PULL] Correct the SMAP check in the e820 probe
, Linus Torvalds
, (Fri Sep 28, 10:27 am)
Re: [GIT PULL] Correct the SMAP check in the e820 probe
, H. Peter Anvin
, (Fri Sep 28, 1:03 pm)
Re: [GIT PULL] Correct the SMAP check in the e820 probe
, Chuck Ebbert
, (Fri Sep 28, 11:59 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Al Boldi
Re: [ck] Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu sched...
Ingo Molnar
Re: [patch] sched_clock(): cleanups
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Amit K. Arora
[RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Denys Vlasenko
[PATCH 1/2] bnx2: factor out gzip unpacker
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
1004 guests
online.
Online users
zeekec
Syndicate