Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 20:28:28 -0700 (PDT)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 trap.c src/sys/vm vm_fault.c
Message-ID:  <200204180328.g3I3SSS60897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204180328.g3I3SSS60897>