[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47A7E8DF.3080209@linux.intel.com>
Date: Mon, 04 Feb 2008 20:41:03 -0800
From: Arjan van de Ven <arjan@...ux.intel.com>
To: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
CC: tglx@...utronix.de, mingo@...e.hu, linux-kernel@...r.kernel.org
Subject: Re: issue with patch "x86: no CPA on iounmap"
Siddha, Suresh B wrote:
> This is wrt to x86 git commit f56d005d30342a45d8af2b75ecccc82200f09600
> "x86: no CPA on iounmap"
>
> This can use performance issue. When a GART driver unmaps a RAM page,
> which was mapped as UC, this commit will still retain UC attribute
> on the kernel identity mapping. This can cause mysterious performance issue
> if this freed page gets used by kernel later.
>
> For now we should change the attribute during iounmap and in future PAT
> infrastructure will have necessary hooks to avoid the aliasing issues.
>
this is a hard one; because the flipside is someone ioremapping the same page twice
(which is not impossible if there's 2 1k bars)... and then one of them gets iounmapped,
which would turn the page cachable again.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists