freebsd-dev/sys/powerpc/aim
Attilio Rao c7aebda8a1 The soft and hard busy mechanism rely on the vm object lock to work.
Unify the 2 concept into a real, minimal, sxlock where the shared
acquisition represent the soft busy and the exclusive acquisition
represent the hard busy.
The old VPO_WANTED mechanism becames the hard-path for this new lock
and it becomes per-page rather than per-object.
The vm_object lock becames an interlock for this functionality:
it can be held in both read or write mode.
However, if the vm_object lock is held in read mode while acquiring
or releasing the busy state, the thread owner cannot make any
assumption on the busy state unless it is also busying it.

Also:
- Add a new flag to directly shared busy pages while vm_page_alloc
  and vm_page_grab are being executed.  This will be very helpful
  once these functions happen under a read object lock.
- Move the swapping sleep into its own per-object flag

The KPI is heavilly changed this is why the version is bumped.
It is very likely that some VM ports users will need to change
their own code.

Sponsored by:	EMC / Isilon storage division
Discussed with:	alc
Reviewed by:	jeff, kib
Tested by:	gavin, bapt (older version)
Tested by:	pho, scottl
2013-08-09 11:11:11 +00:00
..
clock.c MFcalloutng: 2013-02-28 13:46:03 +00:00
copyinout.c Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
interrupt.c Remove some dead code: unnecessary isyncs and memory sorting, which are 2011-06-02 14:15:44 +00:00
locore32.S Setup BAT0 and BAT1 on the Wii. 2012-11-21 08:04:21 +00:00
locore64.S Implement DTrace for PowerPC. This includes both 32-bit and 64-bit. 2012-11-07 23:45:09 +00:00
locore.S MFppc64: 2010-07-13 05:32:19 +00:00
machdep.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
mmu_oea64.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
mmu_oea64.h Add an abstraction layer to the 64-bit AIM MMU's page table manipulation 2010-12-04 02:42:52 +00:00
mmu_oea.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
moea64_if.m Add an abstraction layer to the 64-bit AIM MMU's page table manipulation 2010-12-04 02:42:52 +00:00
moea64_native.c Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
mp_cpudep.c Use a global __pure2 function instead of a global register variable for 2011-11-17 15:49:42 +00:00
nexus.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
slb.c Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
swtch32.S Fix final bugs in memory barriers on PowerPC: 2012-05-04 16:00:22 +00:00
swtch64.S Fix final bugs in memory barriers on PowerPC: 2012-05-04 16:00:22 +00:00
trap_subr32.S Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code, 2013-03-18 05:30:18 +00:00
trap_subr64.S Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code, 2013-03-18 05:30:18 +00:00
trap.c Print out DSISR in a fatal DSI trap. 2013-04-05 04:53:43 +00:00
uma_machdep.c Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
vm_machdep.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00