Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Use Rumprun kernonly (-k) mode #18

Open
anttikantee opened this issue Jan 3, 2016 · 1 comment
Open

Use Rumprun kernonly (-k) mode #18

anttikantee opened this issue Jan 3, 2016 · 1 comment

Comments

@anttikantee
Copy link
Contributor

Currently, gorump runs on top of Rumprun's libc. That's unnecessary, theoretically speaking, and just lugs along unnecessary components. Dropping libc may also make things such as argc/argv processing and TLS handling easier.

Foreseeably, two things in the current Rumprun implementation prevent from dropping libc and running directly on top of the rump kernel/bmk:

  • some system calls which are not provided by the rump kernel but are emulated by Rumprun are emulated on top of libc. A good example is mmap
  • config runs on top of libc, so e.g. network interface configuration is not possible as part of the config mechanism. It is unnecessary for Rumprun's config to fully run on top of libc.

Once the above bullet points have been addressed in Rumprun, gorump should have a look at dropping the libc/userspace layer.

@eyberg
Copy link
Member

eyberg commented Jan 3, 2016

I think this is inline with the go idealogy - most good gophers actively avoid cgo although I think the net package still utilizes it

this would also help out #9

anttikantee added a commit to rumpkernel/rumprun that referenced this issue Jan 12, 2016
That way systems which want to use kernel-only mode can
use the mmap emulation.

part of deferpanic/gorump#18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants