freebsd-skq/sys/powerpc/booke
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 Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
locore.S 1. Have the APs initialize the TLB1 entries from what has been 2012-11-03 22:02:12 +00:00
machdep_e500.c Extract vendor specific Book-E pieces into separate files and have a common 2012-05-30 17:34:40 +00:00
machdep_ppc4xx.c Extract vendor specific Book-E pieces into separate files and have a common 2012-05-30 17:34:40 +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
mp_cpudep.c
platform_bare.c Introduce PLATFORMMETHOD_END and use it. 2013-02-13 02:21:45 +00:00
pmap.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
swtch.S
trap_subr.S Fix a typo that resulted in or-ing PTE_UW twice whrn PTE_SW was needed. 2012-07-02 21:21:12 +00:00
trap.c userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
vm_machdep.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00