mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
c7aebda8a1
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 |
||
---|---|---|
.. | ||
autoconf.c | ||
bus_space_fdt.c | ||
bus_space_generic.c | ||
busdma_machdep.c | ||
cache_mipsNN.c | ||
cache.c | ||
cpu.c | ||
db_disasm.c | ||
db_interface.c | ||
db_trace.c | ||
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 | ||
mem.c | ||
minidump_machdep.c | ||
mp_machdep.c | ||
mpboot.S | ||
nexus.c | ||
octeon_cop2_swtch.S | ||
octeon_cop2.c | ||
pm_machdep.c | ||
pmap.c | ||
ptrace_machdep.c | ||
sc_machdep.c | ||
stack_machdep.c | ||
stdatomic.c | ||
support.S | ||
swtch.S | ||
sys_machdep.c | ||
tick.c | ||
tlb.c | ||
trap.c | ||
uio_machdep.c | ||
uma_machdep.c | ||
vm_machdep.c |