summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-03-04 12:33:40 +0000
committerattilio <attilio@FreeBSD.org>2013-03-04 12:33:40 +0000
commit709ad55889c4199b88fe7dee69c38a54ead05501 (patch)
treef8a5d36c4920e2c30960c0b035bd028d000d5c75 /sys/vm/vm_object.h
parenta8671df14b60140e0af340fa7814b371a0c6096f (diff)
downloadFreeBSD-src-709ad55889c4199b88fe7dee69c38a54ead05501.zip
FreeBSD-src-709ad55889c4199b88fe7dee69c38a54ead05501.tar.gz
Evaluations on the likelyhood of empty object cache cannot be made in
general way but must be evaluated case by case. Embedd the decision in the caller themselves rather than in a general purpose KPI. Sponsored by: EMC / Isilon storage division Reported by: alc Reviewed by: alc
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 97e8750..d69e679 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -235,7 +235,7 @@ static __inline boolean_t
vm_object_cache_is_empty(vm_object_t object)
{
- return (__predict_true(object->cache.rt_root == 0));
+ return (object->cache.rt_root == 0);
}
vm_object_t vm_object_allocate (objtype_t, vm_pindex_t);
OpenPOWER on IntegriCloud