freebsd-nq/sys/powerpc/aim
Alan Cox 85f5b24573 In the common case, pmap_enter_quick() completes without sleeping.
In such cases, the busying of the page and the unlocking of the
containing object by vm_map_pmap_enter() and vm_fault_prefault() is
unnecessary overhead.  To eliminate this overhead, this change
modifies pmap_enter_quick() so that it expects the object to be locked
on entry and it assumes the responsibility for busying the page and
unlocking the object if it must sleep.  Note: alpha, amd64, i386 and
ia64 are the only implementations optimized by this change; arm,
powerpc, and sparc64 still conservatively busy the page and unlock the
object within every pmap_enter_quick() call.

Additionally, this change is the first case where we synchronize
access to the page's PG_BUSY flag and busy field using the containing
object's lock rather than the global page queues lock.  (Modifications
to the page's PG_BUSY flag and busy field have asserted both locks for
several weeks, enabling an incremental transition.)
2004-12-15 19:55:05 +00:00
..
clock.c - fix compile warnings 2004-02-11 08:07:19 +00:00
copyinout.c Kernel changes for libthr (and probably libpthread). 2004-03-02 06:13:09 +00:00
interrupt.c
locore.S Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
mmu_oea.c In the common case, pmap_enter_quick() completes without sleeping. 2004-12-15 19:55:05 +00:00
nexus.c Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
ofw_machdep.c Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
ofwmagic.S Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
swtch.S Update the callframe structure to leave space for the frame pointer 2004-07-22 01:28:51 +00:00
trap_subr.S Save DAR/DSISR in DDB regsave area when stack overflow detected. It's 2004-07-27 03:46:34 +00:00
trap.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
uio_machdep.c Remove checks for curthread == NULL - it can't happen. 2004-06-03 10:22:47 +00:00
uma_machdep.c Add sysctl hw.uma_mdpages to track how many pages have been allocated 2004-02-11 04:42:48 +00:00
vm_machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00