Re: Memory management

From: Hans-Bernhard Broeker (broeker_at_physik.rwth-aachen.de)
Date: 03/05/05


Date: 5 Mar 2005 16:49:05 GMT

Dani <daninm78NOSPAM@yahoo.es> wrote:
> Thanks for your comments Hans,

[Thanks for not top-posting with an unedited fullquote below, next
time.]

> I understand caching and memory protection are similar in some
> points but I would like to understand if it is necesary to reserve a
> part of RAM for the MMU if I don't use virtual adressing nor memory
> protection.

Yes, because the way MMUs usually work (I don't really know that of
the ARM), there is no such option as to say "I don't use" virtual
addressing or "I don't use" memory protection --- these are
implemented instead as a virtual memory mapping "physical == virtual"
a protection setup "all access to all address allowed", and it takes
MMU descriptor table memory to set up these configurations.
TANSTAAFL.

-- 
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.


Relevant Pages

  • Re: Protect one single byte on Linux/x86 / sharing libraries / process mem. layout
    ... I did some research on the topic "memory protection" using google, ... PDE and PTE leave some space for managment information, ... The MMU generates a exception ...
    (comp.os.linux.development.system)
  • Re: [Lit.] Buffer overruns
    ... or are you talking about the pagein memory instead? ... but no additional memory protection ... Fiddling the storage keys for page protection could interfer ... since with virtual address space architecture fetch protection can be ...
    (sci.crypt)
  • Re: [Lit.] Buffer overruns
    ... > 360/67 had added virtual memory and features like segment sharing to ... > Fiddling the storage keys for page protection could interfer ...
    (sci.crypt)
  • Re: For the AdaOS folks
    ... > about how the structure of AmigaOS relates to microkernels ... > AmigaOS didn't have any protection and divided everything ... But the libraries weren't like those ... supports memory protection. ...
    (comp.lang.ada)
  • Linux Memory / Process Management on x86
    ... As you might have guessed from the topic "Linux Memory / Process ... I did some research on the topic "memory protection" using google, ... translated to a linear address by "ignoring" everything above bit 31. ... PDE and PTE leave some space for managment information, ...
    (comp.os.linux.misc)