[PATCH] x86: {reverve,free}_memtype() take a physical address

From: Rene Herman
Date: Thu Aug 21 2008 - 18:09:29 EST


This is a multi-part message in MIME format.On 21-08-08 19:15, Rene Herman wrote:

On 21-08-08 14:06, Ingo Molnar wrote:

Would be nice to test tip/master - it has both that patch included and the latest pageattr-array API (with enablement in AGP drivers) patchset, done by Shaohua Li, based on Dave's original patch.

That patch by itself doesn't help any -- the new set_memory_array_uc() still calls reserve_memtype() for each single page in the array.

Worse yet, it appears to be broken. {reserve,free}_memtype() expect phys addresses but it's being passed virtual ones...

Rene.