Re: Questions regarding Rumpkernel and Rumprun Architecture

  • From: Antti Kantee <pooka@xxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Thu, 26 May 2016 11:58:36 +0000

On 26/05/16 08:54, (Redacted sender vincent.schwarzer for DMARC) wrote:

No.  The processes you see are *rump kernel* processes.  They have
nothing to do with address spaces (a rump kernel does not know about
address spaces!).  A process is just a way of saying which namespace is
being used.  For example, file descriptor 0 is different for process n
and process n+1.  For remote clients processes also represent
connections to the rump kernel (think e.g. connect()).
So when you are talking about namespaces is it similiar to something like 
CGroups wereeach process can have its own namespace / config?
What is each process / namespace for? :
    - 0 -- System / Kernel
    - 1 -- ?!
    - 2 -- Application on Rumprun

No, processes are processes.  A process is a namespace.

See more in blue book chapters 2.2, 2.3 and 3.12, plus the rump_lwproc manpage:
http://man.netbsd.org/cgi-bin/man-cgi?rump_lwproc++NetBSD-current

Other related posts: