1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/mips/mips
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
..
autoconf.c
bus_space_fdt.c MFp4 CH=227440: 2013-05-09 20:13:43 +00:00
bus_space_generic.c MFp4 CH=227440: 2013-05-09 20:13:43 +00:00
busdma_machdep.c Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
cache_mipsNN.c
cache.c
cpu.c
db_disasm.c
db_interface.c Don't include asm.h in non-asm files. 2013-05-01 06:57:46 +00:00
db_trace.c Don't assign the copyright to the FreeBSD foundation for the years 2013-05-29 16:51:03 +00:00
dump_machdep.c
elf_machdep.c
elf_trampoline.c
exception.S
fp.S
freebsd32_machdep.c
gdb_machdep.c
genassym.c
in_cksum.c
inckern.S
intr_machdep.c
libkern_machdep.c
locore.S
machdep.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
mem.c
minidump_machdep.c
mp_machdep.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
mpboot.S
nexus.c
octeon_cop2_swtch.S
octeon_cop2.c
pm_machdep.c
pmap.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
ptrace_machdep.c
sc_machdep.c Provide basic glue to allow syscons to be used on MIPS, modelled 2012-08-25 08:09:37 +00:00
stack_machdep.c Fix several typos 2013-05-12 16:43:26 +00:00
stdatomic.c Make support for atomics on ARM complete. 2013-06-15 08:15:22 +00:00
support.S Use the offsets from pcb.h rather than regnum.h to store the registers 2013-04-25 17:23:54 +00:00
swtch.S Use the offsets from pcb.h rather than regnum.h to store the registers 2013-04-25 17:23:54 +00:00
sys_machdep.c
tick.c MFcalloutng: 2013-02-28 13:46:03 +00:00
tlb.c Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.c 2013-04-12 17:22:12 +00:00
trap.c Don't include asm.h in non-asm files. 2013-05-01 06:57:46 +00:00
uio_machdep.c Include sys/systm.h after sys/param.h. 2013-07-15 15:40:57 +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