Re: [PATCH 2/4] x86: set_memory_xx enhancement

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, Thomas Gleixner <tglx@...>, <linux-kernel@...>
Date: Friday, February 1, 2008 - 7:07 am

On Friday 01 February 2008 10:34:52 Huang, Ying wrote:

Well as you can see it's incredible complicated. And it's not even 
needed because there is no need to change the direct mapping and 
add more TLB misses for all users who happen to share the same 2MB area 
just to get an executable mapping somewhere. All this effort is only
really needed for uncacheable mappings where the architecture requires
coherency. Or for mappings where cache coherency is not ensured.

It would be much simpler to just fix ioremap to allow executable
mappings again. And remove set_memory_x() again because it is much
less efficient than ioremap for this.


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

Messages in current thread:
[PATCH 2/4] x86: set_memory_xx enhancement, Huang, Ying, (Fri Feb 1, 5:34 am)
Re: [PATCH 2/4] x86: set_memory_xx enhancement, Andi Kleen, (Fri Feb 1, 7:07 am)