login
Header Space

 
 

Re: [git pull] x86 fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Harvey Harrison <harvey.harrison@...>
Cc: Linus Torvalds <torvalds@...>, <linux-kernel@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Andrew Morton <akpm@...>
Date: Thursday, March 27, 2008 - 4:55 pm

* Harvey Harrison <harvey.harrison@gmail.com> wrote:


heh, did the exact same cleanup :)

i suspect we would be fine with a simple:

	if (error_code & PF_INSTR)
  		return 0;

because if we get a fault on an instruction fetch then it clearly cannot 
be a prefetch erratum ... The NX condition simply comes from a cautious 
32-bit workaround. (on 64-bit we always have NX - at least on AMD which 
has this erratum.)

and thus the currently pulled code is not incorrect, just ugly and 
nonsensical.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] x86 fixes, Ingo Molnar, (Thu Mar 27, 4:03 pm)
Re: [git pull] x86 fixes, Linus Torvalds, (Thu Mar 27, 4:31 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Thu Mar 27, 4:50 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Thu Mar 27, 5:24 pm)
Re: [git pull] x86 fixes, Harvey Harrison, (Thu Mar 27, 4:48 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Thu Mar 27, 4:55 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Thu Mar 27, 5:01 pm)
Re: [git pull] x86 fixes, Harvey Harrison, (Thu Mar 27, 5:08 pm)
speck-geostationary