Date: Mon, 11 Dec 2000 23:25:58 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps extern.h keyword.c print.c ps.c ps.h src/lib/libkvm kvm.h kvm_proc.c src/sys/kern imgact_aout.c kern_proc.c sys_process.c src/sys/sys user.h src/usr.bin/fstat fstat.c src/usr.bin/gcore gcore.c src/usr.bin/systat pigs.c ... Message-ID: <200012120725.eBC7Pwx62645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2000/12/11 23:25:58 PST Modified files: bin/ps extern.h keyword.c print.c ps.c ps.h lib/libkvm kvm.h kvm_proc.c sys/kern imgact_aout.c kern_proc.c sys_process.c sys/sys user.h usr.bin/fstat fstat.c usr.bin/gcore gcore.c usr.bin/systat pigs.c usr.bin/top machine.c usr.bin/w extern.h proc_compare.c w.c Log: Change the proc information returned from the kernel so that it no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced. Revision Changes Path 1.11 +2 -4 src/bin/ps/extern.h 1.26 +28 -39 src/bin/ps/keyword.c 1.40 +57 -92 src/bin/ps/print.c 1.33 +16 -23 src/bin/ps/ps.c 1.8 +5 -16 src/bin/ps/ps.h 1.12 +2 -2 src/lib/libkvm/kvm.h 1.28 +160 -74 src/lib/libkvm/kvm_proc.c 1.64 +2 -3 src/sys/kern/imgact_aout.c 1.78 +104 -46 src/sys/kern/kern_proc.c 1.55 +4 -6 src/sys/kern/sys_process.c 1.26 +84 -32 src/sys/sys/user.h 1.25 +18 -21 src/usr.bin/fstat/fstat.c 1.16 +21 -26 src/usr.bin/gcore/gcore.c 1.11 +7 -11 src/usr.bin/systat/pigs.c 1.33 +44 -48 src/usr.bin/top/machine.c 1.3 +4 -2 src/usr.bin/w/extern.h 1.2 +17 -13 src/usr.bin/w/proc_compare.c 1.39 +10 -14 src/usr.bin/w/w.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012120725.eBC7Pwx62645>