Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/rump/librump/rumpkern

Module Name:    src
Committed By:   pooka
Date:           Mon Jun 14 21:04:56 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: locks_up.c memalloc.c rump_private.h

Log Message:
Make it possible to define an upper limit for memory consumed by
the rump kernel by specifying RUMP_MEMLIMIT.  In case allocation
over that limit is attempted, essentially pool reclaim and uvm_wait()
is done.  The default is to allow to allocate as much as the host
will give.

XXX: uvm_km_alloc and malloc(9) do not currently conform.  the
former is easy, the latter requires kern_malloc.c (rump malloc is
currently directly relegated to host malloc).

To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/librump/rumpkern/locks_up.c
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpkern/memalloc.c
cvs rdiff -u -r1.53 -r1.54 src/sys/rump/librump/rumpkern/rump_private.h
cvs rdiff -u -r1.83 -r1.84 src/sys/rump/librump/rumpkern/vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index