Single address space operating system explained
In computer science, a single address space operating system (or SASOS) is an operating system that provides only one globally shared address space for all processes. In a single address space operating system, numerically identical (virtual memory) logical addresses in different processes all refer to exactly the same byte of data.[1]
In a traditional OS with private per-process address space, memory protection is based on address space boundaries ("address space isolation"). Single address-space operating systems make translation and protection orthogonal, which in no way weakens protection.[2] [3] The core advantage is that pointers (i.e. memory references) have global validity, meaning their meaning is independent of the process using it. This allows sharing pointer-connected data structures across processes, and making them persistent, i.e. storing them on backup store.
Some processor architectures have direct support for protection independent of translation. On such architectures, a SASOS may be able to perform context switches faster than a traditional OS. Such architectures include Itanium, and Version 5 of the Arm architecture, as well as capability architectures such as CHERI.[4]
A SASOS should not be confused with a flat memory model, which provides no address translation and generally no memory protection. In contrast, a SASOS makes protection orthogonal to translation: it may be possible to name a data item (i.e. know its virtual address) while not being able to access it.
SASOS projects using hardware-based protection include the following:
Related are OSes that provide protection through language-level type safety
See also
Bibliography
- Jeffrey S. Chase. Henry M. Levy. Hank_Levy_(computer_scientist). Michael J. Feeley. Edward D. Lazowska. Edward D. Lazowska. Sharing and protection in a single-address-space operating system. ACM Transactions on Computer Systems. 12. 4. 271–307. November 1994. 10.1145/195792.195795. 10.1.1.127.7313. .
- Heiser . Gernot . Gernot Heiser . Elphinstone . Kevin . Vochteloo . Jerry . Russell . Stephen . Jochen Liedtke . Liedtke . Jochen . 1998 . The Mungi Single-Address-Space Operating System . Software: Practice and Experience . 28 . 9 . 901 - 928 . 10.1002/(SICI)1097-024X(19980725)28:9<901::AID-SPE181>3.0.CO;2-7 . 10.1.1.146.4216. 62189930 . live . June 27, 2022 . https://archive.today/20220627010816/http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.146.4216&rep=rep1&type=pdf .
- Improving the reliability of commodity operating systems. Michael M. Swift. Brian N. Bershad. Henry M. Levy. ACM SIGOPS Operating Systems Review. 10.1145/1165389.945466. December 2003. 37. 5. 207. 10.1.1.5.3338.
- Architecture support for single address space operating systems. Eric J. Koldinger. Jeffrey S. Chase. Susan J. Eggers. ACM SIGPLAN Notices. 10.1145/143371.143508. 27. 9. 175–186. September 1992.
Notes and References
- ACM SIGPLAN Notices. 27. 9. 175–186. September 1992. Eric J. Koldinger. Jeffrey S. Chase. Susan J. Eggers. Architecture support for single address space operating systems. 10.1145/143371.143508.
- Web site: Tim Wilkinson. Kevin Murray. Stephen Russell. Gernot Heiser. Jochen Liedt. Single Address Space Operating Systems . University of New South Wales . 13 November 1995. 10.1.1.13.7042. Section 2: "Memory Protection".
- Jeffrey S. Chase. Henry M. Levy. Hank Levy (computer scientist). Michael J. Feeley. Edward D. Lazowska. Edward D. Lazowska. Sharing and protection in a single-address-space operating system. ACM Transactions on Computer Systems. 12. 4. 271–307. November 1994. 10.1145/195792.195795. 10.1.1.127.7313.
- Web site: CHERI: a research platform deconflating hardware virtualization and protection. Watson. Robert N. M.. Robert Watson (computer scientist). Neumann. Peter G.. Peter G. Neumann. 3 March 2012. Unpublished workshop paper for RESoLVE’12, March 3, 2012, London, UK. SRI International Computer Science Laboratory. Woodruff. Jonathan. Anderson. Jonathan. Anderson. Ross. Ross J. Anderson. Dave. Nirav. Laurie. Ben. Ben Laurie. Moore. Simon W.. Murdoch. Steven J.. Steven Murdoch. Philip. Paeps. Michael. Roe. Hassen. Saidi.
- Web site: The JX Operating System. Michael Golm. Meik Felser. Christian Wawersich. Jürgen Kleinöder.
- Kevin Boos, Namitha Liyanage, Ramla Ijaz, and Lin Zhong."Theseus: an Experiment in Operating System Structure and State Management".2020.
- http://www.nongnu.org/torsion/ "Torsion Operating System"