aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2008-07-19 22:35:13 +0000
committerAlan Cox <alc@FreeBSD.org>2008-07-19 22:35:13 +0000
commitf6c12ae7f0719813367fdac8e7d011df75e9d854 (patch)
treeb9e16dd3358939b2edea142ba0c568be33716d78 /sys/sys
parenta80d8caa74a70aa316b1cfb4aa24a4c6607d3e80 (diff)
downloadsrc-f6c12ae7f0719813367fdac8e7d011df75e9d854.tar.gz
src-f6c12ae7f0719813367fdac8e7d011df75e9d854.zip
Correct the description of v_cache_count. Eliminate an unused function.
Notes
Notes: svn path=/head/; revision=180622
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/vmmeter.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 2b4794a44a8e..6c866c7f1dcf 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -89,7 +89,7 @@ struct vmmeter {
u_int v_active_count; /* (q) pages active */
u_int v_inactive_target; /* (c) pages desired inactive */
u_int v_inactive_count; /* (q) pages inactive */
- u_int v_cache_count; /* (f) pages on buffer cache queue */
+ u_int v_cache_count; /* (f) pages on cache queue */
u_int v_cache_min; /* (c) min pages desired on cache queue */
u_int v_cache_max; /* (c) max pages in cached obj */
u_int v_pageout_free_min; /* (c) min pages reserved for kernel */
@@ -112,17 +112,6 @@ struct vmmeter {
extern struct vmmeter cnt;
/*
- * Return TRUE if we are under our reserved low-free-pages threshold
- */
-
-static __inline
-int
-vm_page_count_reserved(void)
-{
- return (cnt.v_free_reserved > (cnt.v_free_count + cnt.v_cache_count));
-}
-
-/*
* Return TRUE if we are under our severe low-free-pages threshold
*
* This routine is typically used at the user<->system interface to determine