Re: Uncacheable memory?

Matthew Wilcox (mestery@visi.com)
Wed, 28 Jul 1999 12:28:22 -0500 (CDT)


Hi,

On Wed, 28 Jul 1999, Ingo Molnar wrote:

>
> On Wed, 28 Jul 1999, Philip Blundell wrote:
>
> > >Is there a way to allocate memory in the kernel that you could mark as
> > >uncacheable? I'm currently running with 2.2.10, and would like to mark
> > >a region of memory I acquire with kmalloc as uncacheable. Thanks.
> >
> > You can't "mark" an area as uncacheable as such, but you can create an
> > alias mapping for it that is uncached. The SA-1100 framebuffer driver
> > does this, I think. Let me know if you have trouble figuring out how to
> > do it.
>
> also there is ioremap_nocache() ...
>
I checked, and this doesn't appear to be implemented for the ARM
EBSA-285 architecture. It is #defined to be a plain old ioremap.

> -- mingo
>

--
Kyle Mestery			| StorageTek's Storage Networking Group
mestery@visi.com		| http://www.freebsd.org/
mestery@netwinder.org		| http://www.netwinder.org/
	Protect your right to privacy: www.freecrypto.org

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