Subject: CVS commit: syssrc/sys/uvm
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/17/2002 10:32:45
Module Name: syssrc
Committed By: chs
Date: Sun Nov 17 08:32:45 UTC 2002
Modified Files:
sharesrc/share/man/man9: uvm.9
syssrc/sys/arch/arm/arm32: cpu.c
syssrc/sys/kern: kern_fork.c kern_kthread.c
syssrc/sys/uvm: uvm_extern.h uvm_glue.c
Log Message:
change uvm_uarea_alloc() to indicate whether the returned uarea is already
backed by physical pages (ie. because it reused a previously-freed one),
so that we can skip a bunch of useless work in that case.
this fixes the underlying problem behind PR 18543, and also speeds up fork()
quite a bit (eg. 7% on my pc, 1% on my ultra2) when we get a cache hit.
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 sharesrc/share/man/man9/uvm.9
cvs rdiff -r1.45 -r1.46 syssrc/sys/arch/arm/arm32/cpu.c
cvs rdiff -r1.98 -r1.99 syssrc/sys/kern/kern_fork.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/kern/kern_kthread.c
cvs rdiff -r1.73 -r1.74 syssrc/sys/uvm/uvm_extern.h
cvs rdiff -r1.60 -r1.61 syssrc/sys/uvm/uvm_glue.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.