Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory management improvements #3

Open
anttikantee opened this issue Sep 11, 2013 · 0 comments
Open

memory management improvements #3

anttikantee opened this issue Sep 11, 2013 · 0 comments

Comments

@anttikantee
Copy link
Contributor

There are essentially three parties allocating memory in our DomU:

  1. the application (or applications)
  2. mini-os
  3. rump kernel

Generally speaking, only "3" knows how to deal with memory shortage (some special cases of "1" might too). On the flipside, "3" also will attempt to use all available memory in the current configuration.

One possibility is to let "3" continue to use all the available memory, and hook up the memory allocators for "1" and "2" into trying to make "3" release excess caches upon allocation failure.

Another possibility is to limit the memory "3" will use and apply different allocation zones for each of 1,2,3.

anttikantee added a commit that referenced this issue Sep 12, 2013
Initial stab at issue #3 (fixing whole issue still need a lot more work).
liuw pushed a commit to liuw/rumprun-xen that referenced this issue Mar 10, 2015
subr.c is always needed after recent namespace-operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant