Author: ivoras
Date: Mon Jan 16 15:47:42 2012
New Revision: 230221
URL: http://svn.freebsd.org/changeset/base/230221

Log:
  Add a bit of verbosity to the comment.

Modified:
  head/sys/ufs/ufs/ufs_dirhash.c

Modified: head/sys/ufs/ufs/ufs_dirhash.c
==============================================================================
--- head/sys/ufs/ufs/ufs_dirhash.c      Mon Jan 16 15:38:45 2012        
(r230220)
+++ head/sys/ufs/ufs/ufs_dirhash.c      Mon Jan 16 15:47:42 2012        
(r230221)
@@ -1248,7 +1248,12 @@ ufsdirhash_lowmem()
 {
        struct dirhash *dh, *dh_temp;
        int memfreed = 0;
-       /* XXX: this 10% may need to be adjusted */
+       /* 
+        * Will free a *minimum* of 10% of the dirhash, but possibly much
+        * more (depending on dirhashreclaimage). System with large dirhashes
+        * probably also need a much larger dirhashreclaimage.
+        * XXX: this percentage may need to be adjusted.
+        */
        int memwanted = ufs_dirhashmem / 10;
 
        ufs_dirhashlowmemcount++;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to