From owner-cvs-all Thu Sep 7 12:13:59 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3958237B422; Thu, 7 Sep 2000 12:13:56 -0700 (PDT) Received: (from truckman@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA91342; Thu, 7 Sep 2000 12:13:56 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200009071913.MAA91342@freefall.freebsd.org> From: Don Lewis Date: Thu, 7 Sep 2000 12:13:56 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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