OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:42 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: User Mode Swapping?
PostPosted: Sat Jul 18, 2015 11:15 am 
Offline
Member
Member
User avatar

Joined: Wed Jan 06, 2010 7:07 pm
Posts: 792
Brendan wrote:
You're talking about 2 extremely different things.
While libraries tend not to have state and drivers do, drivers also typically run in the kernel, which typically works just like lingofreak describes. It is mapped into each address like a library, but it shares its state across processes and is in a separate protection domain.

This is useful because it lets the kernel (and in lingofreak's scenario, the drivers) directly access the process's address space. For example, sharing buffers without the cache misses, TLB misses, and pointer fixups from accessing the page tables to map them across address spaces.

As far as "pointless duplication" goes, the Mill actually has only the one form of protection domains as it's single-address-space.

But none of this is directly relevant to Brendan's design, which involves passing messages to components potentially on other machines in a cluster. Perhaps it would make sense as an optimization on machines that are capable of it.

_________________
[www.abubalay.com]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group