minix/minix/servers/vm
David van Moolenbroek bc2d75fa05 Rework getrusage(2) infrastructure
- the userland call is now made to PM only, and PM relays the call to
  other servers as appropriate; this is an ABI change that will
  ultimately allow us to add proper support for wait3() and the like;
  for the moment there is backward compatibility;
- the getrusage-specific kernel subcall has been removed, as it
  provided only redundant functionality, and did not provide the means
  to be extended correctly in the future - namely, allowing the kernel
  to return different values depending on whether resource usage of
  the caller (self) or its children was requested;
- VM is now told whether resource usage of the caller (self) or its
  children is requested, and it refrains from filling in wrong values
  for information it does not have;
- VM now uses the correct unit for the ru_maxrss values;
- VFS is cut out of the loop entirely, since it does not provide any
  values at the moment; a comment explains how it should be readded.

Change-Id: I27b0f488437dec3d8e784721c67b03f2f853120f
2015-09-28 14:06:59 +00:00
..
arch New sources layout 2014-07-31 16:00:30 +02:00
acl.c VM: hide harmless ACL warning for RS at startup 2015-09-17 17:14:58 +00:00
alloc.c New sources layout 2014-07-31 16:00:30 +02:00
break.c New sources layout 2014-07-31 16:00:30 +02:00
cache.c libfsdriver: support mmap on FSes with no device 2014-11-15 11:19:52 +00:00
cache.h libfsdriver: support mmap on FSes with no device 2014-11-15 11:19:52 +00:00
cavl_if.h New sources layout 2014-07-31 16:00:30 +02:00
cavl_impl.h New sources layout 2014-07-31 16:00:30 +02:00
exit.c vm: Improve live update support. 2015-09-16 11:06:41 +00:00
fdref.c New sources layout 2014-07-31 16:00:30 +02:00
fdref.h New sources layout 2014-07-31 16:00:30 +02:00
fork.c New sources layout 2014-07-31 16:00:30 +02:00
glo.h Annotations and tweaks for live update 2015-09-17 17:13:38 +00:00
main.c VM: align frame buffer 2015-09-17 17:14:38 +00:00
Makefile Disable malloc instrumentation for VM (#1) 2015-09-17 14:05:14 +00:00
mem_anon.c New sources layout 2014-07-31 16:00:30 +02:00
mem_anon_contig.c vm: allow split of mem_anon_contig region 2014-09-01 15:31:19 +02:00
mem_cache.c VM: allocate cache pages in mmap region 2015-09-17 14:09:06 +00:00
mem_directphys.c New sources layout 2014-07-31 16:00:30 +02:00
mem_file.c libminixfs: better support for read errors and EOF 2015-08-14 18:39:26 +00:00
mem_shared.c VM: mem_shared: allow re-pagefault 2014-09-03 14:32:54 +02:00
memlist.h New sources layout 2014-07-31 16:00:30 +02:00
memtype.h New sources layout 2014-07-31 16:00:30 +02:00
mmap.c vm: Allow VM to make self calls when needed. 2015-09-16 11:06:51 +00:00
pagefaults.c VM: fix for handling one-shot page memory 2015-02-10 13:47:27 +00:00
pagetable.c vm: restartability improvements (#2) 2015-09-17 13:42:18 +00:00
pb.c New sources layout 2014-07-31 16:00:30 +02:00
phys_region.h New sources layout 2014-07-31 16:00:30 +02:00
proto.h RS/VM: proper preparation for multi-VM live update 2015-09-17 14:01:06 +00:00
pt.h New sources layout 2014-07-31 16:00:30 +02:00
queryexit.c New sources layout 2014-07-31 16:00:30 +02:00
region.c vm: restartability improvements (#1) 2015-09-17 13:41:26 +00:00
region.h vm: Improve live update support. 2015-09-16 11:06:41 +00:00
regionavl.c New sources layout 2014-07-31 16:00:30 +02:00
regionavl.h New sources layout 2014-07-31 16:00:30 +02:00
regionavl_defs.h New sources layout 2014-07-31 16:00:30 +02:00
rs.c RS/VM: proper preparation for multi-VM live update 2015-09-17 14:01:06 +00:00
sanitycheck.h New sources layout 2014-07-31 16:00:30 +02:00
slaballoc.c Add live update-friendly annotations. 2015-09-17 13:25:38 +00:00
unavl.h New sources layout 2014-07-31 16:00:30 +02:00
util.h New sources layout 2014-07-31 16:00:30 +02:00
utility.c Rework getrusage(2) infrastructure 2015-09-28 14:06:59 +00:00
vfs.c New sources layout 2014-07-31 16:00:30 +02:00
vm.h vm: Improve live update support. 2015-09-16 11:06:41 +00:00
vmproc.h vm: Improve live update support. 2015-09-16 11:06:41 +00:00