]> Zhao Yanbai Git Server - minix.git/commit
getrusage(2): zero out ru_i[xds]rss fields 00/3200/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 27 Sep 2015 11:28:56 +0000 (11:28 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 28 Sep 2015 14:06:58 +0000 (14:06 +0000)
commitcd27b2627a4d19f83649c1b00b9c236cf7a66266
treed60d763951244c97fa13a9c4fcfb97f5d09964d8
parent0f5c95a00bee21a5df2b595003c66b240292f274
getrusage(2): zero out ru_i[xds]rss fields

The current values were both inaccurate (especially for dynamically
linked executables) and using the wrong unit (bytes, instead of
kilobytes times ticks-of-execution).  For now we are better off not
populating these fields at all.

Change-Id: I195a8fa8db909e64a833eec25f59c9ee0b89bdc5
minix/servers/vfs/exec.c
minix/servers/vfs/fproc.h
minix/servers/vfs/misc.c
minix/tests/test75.c
minix/usr.bin/trace/service/vfs.c