Hi,

I've been talking about unifying rumprun-xen and rumprun-baremetal for a 
while.  I didn't really know what we should do with rumprun-posix before 
Justin's promising frankenlibc work started.  Now it looks like all 
three will fit under a single roof.  This email opens discussion.

The motivation for unification is clear: it's tiring to edit three 
different copies of the same code in three different places with 
slightly different featuresets.  This has become especially clear very 
recently as we've been working with Martin towards supporting a wide 
range of "userland" features, e.g. TLS, C++ and constructors.

Some of you might have noticed me doodling with the common bits in 
buildrump/bmk-common.  I've now created a repository rumprun where the 
common bits are supposed to land instead of buildrump.sh, where they 
don't really belong.  The original intent was to submodule the rumprun 
repo from the -xen, -baremetal and -posix repositories.  However, as 
experience with bmk-common showed, it's fairly annoying in practise to 
commit all over the places and be constantly updating submodules.  So, 
why go there if we don't have to.

I propose that we import all code from both -xen and -baremetal (*) 
directly into the rumprun repository, and deprecate the specific repos. 
  Then we start making the common bits actually common bits.

*) -posix will be discussed in a separate mail which I'm not sending tonight

So, it would look something like the following in the beginning:

rumprun/
   build-baremetal.sh
   build-xen.sh
   app-tools/
     ...
   libunwind/
     ...
   rumpsrc/
     [as a submodule]
   buildrump.sh/
     [as a submodule]
   xen/
     ...
   baremetal/
     ...

That way we get the common unified bits without the hassle of submodule 
updates.  It will also make it very easy to automatically test all 
platforms with a commit trigger.

thoughts?

   - antti

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to