Re: [OT] Wrapping memory.

Russell King (rmk@arm.linux.org.uk)
Tue, 4 Dec 2001 10:40:47 +0000


On Mon, Dec 03, 2001 at 09:11:18AM +0000, David Woodhouse wrote:
> ARM used to just break, but I pointed it out to Russell a while ago and I
> believe he fixed it. I don't remember what his fix was - it may have been
> just to map the offending page uncached, which is also a fairly effective
> was of avoiding cache aliasing :)

We actually still map the pages as cached, but when update_mmu_cache
detects that a page has been mmapped more than once, we ensure that
the other mappings in the current mm will fault when accessed.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/