9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: paurea@gmail.com (Gorka Guardiola)
Subject: [9fans] more "Plan 9 from Bell Labs" questions
Date: Mon,  4 Apr 2011 12:10:50 +0200	[thread overview]
Message-ID: <AANLkTimvMc2SKPLgomf+q48O8eFRmOShThjmEtkjw85=@mail.gmail.com> (raw)
In-Reply-To: <e7908656-d754-4228-80cd-a9dc214c543b@v31g2000vbs.googlegroups.com>

On Mon, Apr 4, 2011 at 11:36 AM, faif <faifgnu at gmail.com> wrote:
> "9P has two forms: RPC messages sent on a pipe or network connection
> and a procedural interface within the kernel. Since kernel device
> drivers are directly addressable, there is no need to pass messages to
> communicate with them;"
>
> Are the device drivers really in kernel space? It seems that Plan 9 is
> an ideal design for moving buggy software like 3rd party drivers into
> the user space.
>

Some of them are. Vga is, for example, usb is half in (usbd), half out
(usb/disk). Whenever possible it is better to have things in user space
(protection, easy to debug, etc). Sometimes for efficiency reasons it
is better inside (less context switches, no marshalling of 9P etc.).

> Just wondering if anybody has worked on the TODO things mentioned in
> the paper:
>
> "Using streams to implement network interfaces in the kernel allows
> protocols to be connected together dynamically, such as to attach the
> same TTY driver to TCP, URP, and IL connections, but Plan 9 makes no
> use of this configurability."
>

I am guessing this is why there are no streams any more :-).

> "Although Plan 9 has per-process name spaces, it has no mechanism to
> give the description of a process?s name space to another process
> except by direct inheritance."
>
>

There is no way to do this now in plan 9 as it is AFAIK.
The best you can try to do is get the namespace /proc/*/ns and try to recreate
it which is not exactly the same.

G.



  reply	other threads:[~2011-04-04 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04  9:36 faif
2011-04-04 10:10 ` Gorka Guardiola [this message]
2011-04-04 15:53 ` Ethan Grammatikidis
2011-04-04 16:02   ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimvMc2SKPLgomf+q48O8eFRmOShThjmEtkjw85=@mail.gmail.com' \
    --to=paurea@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).