DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- vm locking: Add vm_page_(un)lock and vm_object_(un)lock.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Feb 2011 17:20:26 -0800 (PST)

commit e32ad78d3c7ec2375b8d1a129340e596f1ea1fd8
Author: Venkatesh Srinivas <me@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]