From owner-cvs-src-old@FreeBSD.ORG Thu Oct 8 09:03:27 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1258B1065788 for ; Thu, 8 Oct 2009 09:03:27 +0000 (UTC) (envelope-from snb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 010A18FC1C for ; Thu, 8 Oct 2009 09:03:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9893QXQ032004 for ; Thu, 8 Oct 2009 09:03:26 GMT (envelope-from snb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9893QFW032003 for cvs-src-old@freebsd.org; Thu, 8 Oct 2009 09:03:26 GMT (envelope-from snb@repoman.freebsd.org) Message-Id: <200910080903.n9893QFW032003@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to snb@repoman.freebsd.org using -f From: Sean Nicholas Barkas Date: Thu, 8 Oct 2009 09:03:04 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/ufs/ufs dirhash.h ufs_dirhash.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 09:03:27 -0000 snb 2009-10-08 09:03:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ufs/ufs dirhash.h ufs_dirhash.c Log: SVN rev 197852 on 2009-10-08 09:03:04Z by snb MFC r193375, r194387, r195003: Add vm_lowmem event handler for dirhash. This will cause dirhashes to be deleted when the system is low on memory. This ought to allow an increase to vfs.ufs.dirhash_maxmem on machines that have lots of memory, without degrading performance by having too much memory reserved for dirhash when other things need it. The default value for dirhash_maxmem is being kept at 2MB for now, though. Approved by: dwmalone (mentor) Revision Changes Path 1.5.10.2 +2 -0 src/sys/ufs/ufs/dirhash.h 1.23.2.4 +106 -25 src/sys/ufs/ufs/ufs_dirhash.c