freebsd-nq/sys/sparc64/sparc64
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
..
autoconf.c
bus_machdep.c Better fix the busdma problem exposed by ATA. With the CMD 646 for 2004-09-10 07:00:28 +00:00
cache.c
cheetah.c
clock.c
counter.c Set the tc_quality field of the struct before calling tc_init(), since 2004-09-30 14:30:29 +00:00
critical.c
db_disasm.c
db_hwwatch.c
db_interface.c
db_trace.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
dump_machdep.c
eeprom_ebus.c o Sync with the NetBSD mk48txx driver (the result simplyfies some changes 2004-11-17 12:54:12 +00:00
eeprom_sbus.c o Sync with the NetBSD mk48txx driver (the result simplyfies some changes 2004-11-17 12:54:12 +00:00
eeprom.c o Sync with the NetBSD mk48txx driver (the result simplyfies some changes 2004-11-17 12:54:12 +00:00
elf_machdep.c
exception.S
gdb_machdep.c Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
genassym.c Remove references to U area and garbage collect includes. 2004-11-20 02:30:59 +00:00
identcpu.c
in_cksum.c
interrupt.S
intr_machdep.c
iommu.c
locore.S
machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
mem.c
mp_exception.S
mp_locore.S
mp_machdep.c Some minor print/panic message cleanups. 2004-09-27 16:06:38 +00:00
nexus.c
ofw_bus.c
ofw_machdep.c
pmap.c In the common case, pmap_enter_quick() completes without sleeping. 2004-12-15 19:55:05 +00:00
prof_machdep.c
rtc.c Add a front-end for the `rtc' device which is a MC146818 compatible 2004-11-17 16:41:42 +00:00
rwindow.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
sc_machdep.c
spitfire.c
support.S
swtch.S
sys_machdep.c
tick.c
tlb.c
trap.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
tsb.c
uio_machdep.c
vm_machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00