[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RAM/memory cacheable by linux kernel/host CPU ?
On Fri, Oct 3, 2008 at 2:04 PM, yogeshwar sonawane <yogyas@xxxxxxxxx> wrote:
> Hi all,
>
> By default, all memory/RAM is cacheable by linux kernel /host CPU ?
I think yes, but you can always change this behaviour.
> What is the scenario with other OSes ?
I think other OSes behave the same: caching is preferred all the time
unless it is needed otherwise.
> If RAM is cacheable, then the memory-mapped IO regions of the
> peripherals are also cacheable ?
IMO no, caching it in RAM could introduce unwanted behaviour: data is
expected to be written to a device while in fact it's still cached.
regards,
Mulyadi.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ