NetBSD/sys/miscfs
agc 15a3a67ede Various changes for better Linux emulation:
+ in /proc/<pid>/statm emulation, use the memory values from vmspace,
rather than struct rusage, since the rusage values appear to be 0 for
all processes except zombies.  cf dsl's comment in
kvm_proc.c::kvm_getproc2()

+ in /proc/<pid>/stat, instead of returning the tv_sec value, return the
number of ticks we've had (roughly equivalent to the Linux jiffies).
Calculate these values from the tv_usec values.

Also:

+ enclose CPU_INFO_ITERATOR and CPU_INFO_FOREACH usage in #ifdef
MULTIPROCESSOR, at the request of Nick Hudson

Together, these changes allow htop to work on NetBSD.
2007-05-25 19:20:06 +00:00
..
deadfs Teach deadfs about vm object locking for getpages. This avoids 2006-12-10 23:57:33 +00:00
fdesc Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
fifofs __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
genfs Fstrans_start() always returns zero, so change its type to void. 2007-05-17 07:26:21 +00:00
kernfs Remove useless cast. 2007-03-11 22:07:32 +00:00
nullfs Remove now obsolete vn_start_write() and vn_finished_write() and 2007-04-08 11:20:42 +00:00
overlay Remove now obsolete vn_start_write() and vn_finished_write() and 2007-04-08 11:20:42 +00:00
portal Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
procfs Various changes for better Linux emulation: 2007-05-25 19:20:06 +00:00
specfs Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
syncfs Remove calls to now obsolete vn_start_write() and vn_finished_write(). 2007-04-07 15:06:53 +00:00
umapfs Remove now obsolete vn_start_write() and vn_finished_write() and 2007-04-08 11:20:42 +00:00
Makefile merge ktrace-lwp. 2005-12-11 12:16:03 +00:00