]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Relax locking assertions for vm_page_find_least()
authorattilio <attilio@FreeBSD.org>
Tue, 21 May 2013 20:38:19 +0000 (20:38 +0000)
committerattilio <attilio@FreeBSD.org>
Tue, 21 May 2013 20:38:19 +0000 (20:38 +0000)
commitfdf82ef9cfb84888e76e303fe6c9ee30fbc21d1e
tree24458ef5e2585280bf95280f83f977fde60faeaa
parent05bd8275f3829e7d1f55e8faabd64095eab3c291
o Relax locking assertions for vm_page_find_least()
o Relax locking assertions for pmap_enter_object() and add them also
  to architectures that currently don't have any
o Introduce VM_OBJECT_LOCK_DOWNGRADE() which is basically a downgrade
  operation on the per-object rwlock
o Use all the mechanisms above to make vm_map_pmap_enter() to work
  mostl of the times only with readlocks.

Sponsored by: EMC / Isilon storage division
Reviewed by: alc
14 files changed:
sys/amd64/amd64/pmap.c
sys/arm/arm/pmap-v6.c
sys/arm/arm/pmap.c
sys/i386/i386/pmap.c
sys/i386/xen/pmap.c
sys/ia64/ia64/pmap.c
sys/mips/mips/pmap.c
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/booke/pmap.c
sys/sparc64/sparc64/pmap.c
sys/vm/vm_map.c
sys/vm/vm_object.h
sys/vm/vm_page.c