Subject: building userland that works with UVM.
To: None <current-users@NetBSD.ORG>
From: matthew green <>
List: current-users
Date: 02/09/1998 17:40:13
hi folks.

i've mostly made userland stuff work with UVM.  there are still a couple
of problems to sort out (no ETA on these yet).

there are 6 programs affected by this:
	/usr/bin/w		[ /usr/bin/uptime is OK ]

some only need to be recompiled with -DUVM, others required changes to
the source...  to build UVM-capable versions of these programs, one needs
to set "UVM" in the make environment (either an environment variable or
in /etc/mk.conf) to something.  eg, i have `UVM=yes' in /etc/mk.conf.
this will add -DUVM to these programs.

current known problems:
	- ps and w are not able to read the process argument or environment
	  vectors (kvm_get{arg,env}v)
	- some members of the `struct vmtotal' (as obtained via sysctl
	  vm.vmmeter) are not yet filled in.  this affects both vmstat and
	  systat's vmstat screen.
	- `systat vmstat' does not currently display a whole lot of useful
	  VM information.

the last problem should be fixed shortly.  the first two require a fair
bit of thought and so far nothing totally concrete has been planned for
these (you're welcome to try! :-)

as normal, please send-pr any problems you see!