freebsd-dev/sys/powerpc
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
..
aim The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
booke The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
conf follow up to r254051 2013-08-09 08:11:09 +00:00
cpufreq
fpu
include Remove duplicate definition of SPR MMCR0. 2013-08-03 18:05:12 +00:00
mambo
mpc85xx
ofw Micro-optimize OFW syscons 8-bit blank. 2013-08-06 03:09:44 +00:00
powermac Add the macio attachment for wi(4). Partially obtained from NetBSD. 2013-07-31 01:13:29 +00:00
powerpc Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
ps3 MFcalloutng: 2013-02-28 10:46:54 +00:00
psim - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related 2013-04-06 19:12:49 +00:00
wii Fix indentation. 2013-07-02 07:17:56 +00:00