]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Call vm_map_growstack() from vm_fault() if vm_map_lookup() has failed
authorAlan Cox <alc@FreeBSD.org>
Thu, 18 Apr 2002 03:28:27 +0000 (03:28 +0000)
committerAlan Cox <alc@FreeBSD.org>
Thu, 18 Apr 2002 03:28:27 +0000 (03:28 +0000)
commit6139043b1ffc16ba4d1d521cfd00abd833670722
tree57e433fbfb84752f26c5e79b5807c33bcc47be22
parent1291e40d3d90ad884c838acf5ba0b07d55e7ad35
 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.)
sys/amd64/amd64/trap.c
sys/i386/i386/trap.c
sys/vm/vm_fault.c