From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] A proposal regarding # in bind From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 26 Feb 2003 14:56:18 +0000 Topicbox-Message-UUID: 732502aa-eacb-11e9-9e20-41e7f4b1d025 > Suppose you recentered the kernel around 9P, > building a muxer that wasn't process-based > like devmnt's currently is. one would also have to make devices more rigorous about use of "writing process" resources, as presumably the device driver would no longer have access to the user area of the process producing the request, as would it not be necessary to send all 9p requests to a driver down a Chan associated with that driver (and presumably every driver would have at least one process reading 9p requests)? so you'd be unable to post a file descriptor to /srv by writing its integer file descriptor. similarly you'd have to think of another way to give fs(3) access to files to multiplex, or to give bind in ip(3) a device to bind an interface to. perhaps a system call to post a file descriptor to part of the namespace? but that comes with its own problems. you'd lose a certain amount in context switch time too, which wouldn't matter so much for some devices but might be a significant overhead in others. all those rough edges...