A new call to vm lets processes yield a part of their memory to vm, together with an id, getting newly allocated memory in return. vm is allowed to forget about it if it runs out of memory. processes can ask for it back using the same id. (These two operations are normally combined in a single call.) It can be used as a as-big-as-memory-will-allow block cache for filesystems, which is how mfs now uses it.
8 lines
139 B
C
8 lines
139 B
C
|
|
#include "proto.h"
|
|
#include "sanitycheck.h"
|
|
#include "pagerange.h"
|
|
#include "addravl_defs.h"
|
|
#include "cavl_if.h"
|
|
#include "cavl_impl.h"
|
|
|