• Medientyp: E-Artikel
  • Titel: Mondrian memory protection
  • Beteiligte: Witchel, Emmett; Cates, Josh; Asanović, Krste
  • Erschienen: Association for Computing Machinery (ACM), 2002
  • Erschienen in: ACM SIGARCH Computer Architecture News
  • Sprache: Englisch
  • DOI: 10.1145/635506.605429
  • ISSN: 0163-5964
  • Schlagwörter: Community and Home Care
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p>Mondrian memory protection (MMP) is a fine-grained protection scheme that allows multiple protection domains to flexibly share memory and export protected services. In contrast to earlier page-based systems, MMP allows arbitrary permissions control at the granularity of individual words. We use a compressed permissions table to reduce space overheads and employ two levels of permissions caching to reduce run-time overheads. The protection tables in our implementation add less than 9% overhead to the memory space used by the application. Accessing the protection tables adds than 8% additional memory references to the accesses made by the application. Although it can be layered on top of demand-paged virtual memory, MMP is also well-suited to embedded systems with a single physical address space. We extend MMP to support segment translation which allows a memory segment to appear at another location in the address space. We use this translation to implement zero-copy networking underneath the standard read system call interface, where packet payload fragments are connected together by the translation system to avoid data copying. This saves 52% of the memory references used by a traditional copying network stack.</jats:p>