Date: Tue, 16 Nov 1999 12:32:02 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps ps.c src/lib/libkvm kvm_proc.c src/lib/libutil setproctitle.c src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_proc.c src/sys/sys imgact.h proc.h sysctl.h Message-ID: <199911162032.MAA12865@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1999/11/16 12:32:02 PST Modified files: bin/ps ps.c lib/libkvm kvm_proc.c lib/libutil setproctitle.c sys/kern kern_exec.c kern_exit.c kern_fork.c kern_proc.c sys/sys imgact.h proc.h sysctl.h Log: Introduce commandline caching in the kernel. This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives. Revision Changes Path 1.29 +2 -2 src/bin/ps/ps.c 1.24 +48 -0 src/lib/libkvm/kvm_proc.c 1.10 +10 -1 src/lib/libutil/setproctitle.c 1.103 +24 -1 src/sys/kern/kern_exec.c 1.88 +7 -1 src/sys/kern/kern_exit.c 1.68 +4 -1 src/sys/kern/kern_fork.c 1.59 +56 -2 src/sys/kern/kern_proc.c 1.21 +2 -1 src/sys/sys/imgact.h 1.91 +16 -2 src/sys/sys/proc.h 1.77 +2 -1 src/sys/sys/sysctl.h 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?199911162032.MAA12865>