[Top] [All Lists]

Re: mmap'ed memory cacheable or uncheable

To: Teresa Tao <>
Subject: Re: mmap'ed memory cacheable or uncheable
From: Ralf Baechle <>
Date: Thu, 31 Jul 2003 13:31:21 +0200
In-reply-to: <61F6477DE6BED311B69F009027C3F58403AA3969@EXCHANGE>
Original-recipient: rfc822;
References: <61F6477DE6BED311B69F009027C3F58403AA3969@EXCHANGE>
User-agent: Mutt/1.4.1i
On Thu, Jul 24, 2003 at 08:26:59PM -0700, Teresa Tao wrote:

> I got a question regarding the mmap'ed memory. Is the mmap'ed memory
> cacheable or uncheable? My driver just use the remap_page_range to map
> a reserved physical memory.

Mmap(2) creates cachable mappings for everything below the highest memory
address and uncached above that.  That's a somewhat naive mechanism
which fails a few systems but somehow nobody did complain so far ...


<Prev in Thread] Current Thread [Next in Thread>