freebsd-nq/sys/amd64
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
..
acpica Move the code for halting the CPU (acpi_cpu_c1) into machdep files. 2004-10-11 05:39:15 +00:00
amd64 In the common case, pmap_enter_quick() completes without sleeping. 2004-12-15 19:55:05 +00:00
compile
conf Reduce annoying SCSI probing delay from 15 to 5 seconds in all GENRIC kernels. 2004-11-02 20:57:20 +00:00
ia32 Remove sched_free_thread() which was only used 2004-08-31 06:12:13 +00:00
include Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
isa Add new a function isa_dma_init() which returns an errno when it fails 2004-09-15 12:09:50 +00:00
linux32 Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pci Add TUNABLE_LONG and TUNABLE_ULONG, and use the latter for the 2004-10-31 15:50:33 +00:00
Makefile