]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/buf_internal.h
xnu-1504.3.12.tar.gz
[apple/xnu.git] / bsd / sys / buf_internal.h
index a11222c07fcadb1c6975075c29b1e7dfeb71219e..6d3801a50f4e835dfb8a7ecb28510e1fd3114996 100644 (file)
@@ -147,6 +147,7 @@ struct buf {
  * Parameters for buffer cache garbage collection 
  */
 #define BUF_STALE_THRESHHOLD   30      /* Collect if untouched in the last 30 seconds */
+#define BUF_MAX_GC_COUNT       1000    /* Generally 6-8 MB */
 
 /*
  * mask used by buf_flags... these are the readable external flags