Hi Jeff, Richard, many thanks for your explanations! I think I got it now...
One more question: On Tue, Dec 6, 2011 at 21:49, Jeff Dike <jd...@addtoit.com> wrote: > On Tue, Dec 06, 2011 at 07:48:40PM +0100, Riccardo Murri wrote: >> In addition, *every* syscall generates a SIGTRAP to the UML kernel >> process, which handles it. The advantage of SKAS0 over TT is that >> memory management syscalls allow the separation of kernel and process >> address space, but every other syscall needs to be handled exactly as >> in TT: e.g., open() needs to map paths using the UML filesystem, etc. >> Right? > > A little off the rails here - in TT mode, there is one address space > in which userspace runs, on every context switch, that address space > needs to be completely remapped in order to become the memory of the > switched-in process. > Does this mean that in TT mode all UML "guest processes" are really threads of a single host process? i.e., they are created with clone(CLONE_VM|...) so they literally share any single page of memory? (So the it's the job of the UML kernel to mprotect() all the pages upon every in-UML context switch?) Best regards, Riccardo ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user