minix/minix/include
David van Moolenbroek 305e366fe4 ProcFS: get process information from MIB service
Instead of pulling in process tables itself, ProcFS now queries the
MIB service for process information.  This reduces ProcFS's memory
usage by about 1MB.  The change does have two negative consequences.

First, getting all the original /proc/<pid>/psinfo fields filled in
would take a lot of extra effort.  Since the only program that uses
those files at all is mtop(1), we reformat psinfo to expose only the
information used by mtop(1).  This means that with this patch, older
copies of MINIX3 ps and top will cease to work.

Second, since both MIB and ProcFS update their own view of the
process list only once per clock tick, ProcFS' view may now be
outdated by up to two clock ticks.  This is unlikely to pose a
problem in practice.

Change-Id: Iaa6b60450c8fb52d092962394d33d08bd638bc01
2016-01-13 20:32:54 +01:00
..
arch New sources layout 2014-07-31 16:00:30 +02:00
ddekit Much USB code for ARM USB support 2014-08-29 18:52:49 +02:00
libdde New sources layout 2014-07-31 16:00:30 +02:00
minix ProcFS: get process information from MIB service 2016-01-13 20:32:54 +01:00
net netbsd ping & traceroute 2014-08-21 08:07:39 -04:00
sys Turn PCI into a character driver 2014-11-10 14:43:27 +01:00
configfile.h remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
env.h libsys: resolve clang warnings 2014-09-30 20:08:54 +00:00
lib.h Kernel: separate userland ABI on kernel page 2015-09-23 12:01:15 +00:00
libutil.h New sources layout 2014-07-31 16:00:30 +02:00
Makefile libfetch: switch to external/bsd version 2015-09-23 12:03:08 +00:00
varargs.h New sources layout 2014-07-31 16:00:30 +02:00