diff options
author | attilio <attilio@FreeBSD.org> | 2013-02-06 19:03:48 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-02-06 19:03:48 +0000 |
commit | 86cff934d5585e3f610cadf184d996545acdcaf9 (patch) | |
tree | 064ae05eb3a9c4f2aa4a84e07e158d151498a491 /sys/vm/vm_object.h | |
parent | 9066f231e3b888b377dd18621ab5c1444d20206b (diff) | |
download | FreeBSD-src-86cff934d5585e3f610cadf184d996545acdcaf9.zip FreeBSD-src-86cff934d5585e3f610cadf184d996545acdcaf9.tar.gz |
Do not assume the lock to be held so that this can be used also in
safe cases as a short-cut.
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r-- | sys/vm/vm_object.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index d1c35ee..782e5c1 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -237,8 +237,6 @@ static __inline boolean_t vm_object_cache_is_empty(vm_object_t object) { - VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); - return (__predict_true(object->cache.rt_root == 0)); } |