Re: [PATCH] x86: create array based interface to change page attribute

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: Dave Airlie <airlied@...>, <linux-kernel@...>, <tglx@...>, <mingo@...>, <arjan@...>
Date: Monday, March 31, 2008 - 3:55 am

Andi Kleen wrote:
I agree that wbinvd() seems to be faster on large arrays on the 
processors I've tested. But isn't there a severe latency problem with 
that instruction, that makes people really want to avoid it in all 
possible cases?

Also I think we need to clarify the semantics of the c_p_a 
functionality. Right now both AGP and DRM relies on c_p_a  doing an 
explicit cache flush. Otherwise the data won't appear on the device side 
of the aperture.
If we use self-snoop, the AGP and DRM drivers can't rely on this flush 
being performed, and they have to do the flush themselves, and for 
non-self-snooping processors, the flush needs to be done twice?

/Thomas




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

Messages in current thread:
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 3:55 am)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 5:06 am)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 7:10 am)
Re: [PATCH] x86: create array based interface to change page..., Arjan van de Ven, (Mon Mar 31, 12:08 pm)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 12:41 pm)
Re: [PATCH] x86: create array based interface to change page..., Arjan van de Ven, (Mon Mar 31, 12:49 pm)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 1:26 pm)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 2:54 am)
Re: [PATCH] x86: create array based interface to change page..., Thomas Hellström, (Mon Mar 31, 7:04 am)