Date: Thu, 7 Sep 2000 12:13:56 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern init_main.c kern_exec.c kern_exit.c kern_fork.c kern_proc.c kern_prot.c kern_resource.c uipc_socket.c uipc_socket2.c uipc_usrreq.c vfs_aio.c src/sys/sys proc.h resourcevar.h ucred.h Message-ID: <200009071913.MAA91342@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
truckman 2000/09/07 12:13:55 PDT Modified files: (Branch: RELENG_4) sys/kern init_main.c kern_exec.c kern_exit.c kern_fork.c kern_proc.c kern_prot.c kern_resource.c uipc_socket.c uipc_socket2.c uipc_usrreq.c vfs_aio.c sys/sys proc.h resourcevar.h ucred.h Log: MFC: Remove hash table lookups and maintenance from chgproccnt() and chgsbsize() and chase pointers stored in pcred and ucred instead for better performance and to avoid these operations in interrupt context which could possibly cause panics. Because the pcred and ucred structures changed size, libkvm and friends will need to be rebuilt. Revision Changes Path 1.134.2.3 +4 -2 src/sys/kern/init_main.c 1.107.2.4 +3 -2 src/sys/kern/kern_exec.c 1.92.2.3 +3 -2 src/sys/kern/kern_exit.c 1.72.2.4 +4 -2 src/sys/kern/kern_fork.c 1.63.2.7 +2 -137 src/sys/kern/kern_proc.c 1.53.2.3 +71 -21 src/sys/kern/kern_prot.c 1.55.2.2 +143 -1 src/sys/kern/kern_resource.c 1.68.2.7 +3 -3 src/sys/kern/uipc_socket.c 1.55.2.7 +4 -3 src/sys/kern/uipc_socket2.c 1.54.2.4 +3 -3 src/sys/kern/uipc_usrreq.c 1.70.2.3 +3 -1 src/sys/kern/vfs_aio.c 1.99.2.5 +2 -3 src/sys/sys/proc.h 1.16.2.1 +21 -1 src/sys/sys/resourcevar.h 1.14.2.1 +3 -1 src/sys/sys/ucred.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?200009071913.MAA91342>