From owner-cvs-all Wed Apr 17 20:28:31 2002 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 C57B137B400; Wed, 17 Apr 2002 20:28:28 -0700 (PDT) Received: (from alc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3I3SSS60897; Wed, 17 Apr 2002 20:28:28 -0700 (PDT) (envelope-from alc) Message-Id: <200204180328.g3I3SSS60897@freefall.freebsd.org> From: Alan Cox Date: Wed, 17 Apr 2002 20:28:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 trap.c src/sys/vm vm_fault.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alc 2002/04/17 20:28:28 PDT Modified files: sys/i386/i386 trap.c sys/vm vm_fault.c Log: o Call vm_map_growstack() from vm_fault() if vm_map_lookup() has failed due to conditions that suggest the possible need for stack growth. This has two beneficial effects: (1) we can now remove calls to vm_map_growstack() from the MD trap handlers and (2) simple page faults are faster because we no longer unnecessarily perform vm_map_growstack() on every page fault. o Remove vm_map_growstack() from the i386's trap_pfault(). o Remove the acquisition and release of Giant from i386's trap_pfault(). (vm_fault() still acquires it.) Revision Changes Path 1.222 +2 -17 src/sys/i386/i386/trap.c 1.135 +10 -1 src/sys/vm/vm_fault.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message