git: kernel -- vm locking: Add vm_page_(un)lock and vm_object_(un)lock.
Venkatesh Srinivas
vsrinivas at crater.dragonflybsd.org
Tue Feb 15 17:21:26 PST 2011
commit e32ad78d3c7ec2375b8d1a129340e596f1ea1fd8
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date: Tue Feb 15 15:59:44 2011 -0800
kernel -- vm locking: Add vm_page_(un)lock and vm_object_(un)lock.
Each vm_object and vm_page are associated with a token; for vm_pages,
we use a pool token; for objects, a per-object token. For vm_pages,
the token will interlock access to the pv_chain, at least.
Also remove per-vm_object range locks. They were unused.
Summary of changes:
sys/vm/vm_object.c | 13 ++++++
sys/vm/vm_object.h | 24 ++++--------
sys/vm/vm_page.c | 12 ++++++
sys/vm/vm_page.h | 2 +
sys/vm/vm_rangelock.c | 99 -------------------------------------------------
5 files changed, 35 insertions(+), 115 deletions(-)
delete mode 100644 sys/vm/vm_rangelock.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e32ad78d3c7ec2375b8d1a129340e596f1ea1fd8
--
DragonFly BSD source repository
More information about the Commits
mailing list