Date: Wed, 3 Jun 2009 09:44:22 +0000 (UTC) From: Sean Nicholas Barkas <snb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ufs dirhash.h ufs_dirhash.c Message-ID: <200906030944.n539iQYX022706@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
snb 2009-06-03 09:44:22 UTC FreeBSD src repository Modified files: sys/ufs/ufs dirhash.h ufs_dirhash.c Log: SVN rev 193375 on 2009-06-03 09:44:22Z by snb 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. This work was mostly done during the 2008 Google Summer of Code. Approved by: dwmalone (mentor), re MFC after: 3 months Revision Changes Path 1.8 +2 -0 src/sys/ufs/ufs/dirhash.h 1.31 +106 -25 src/sys/ufs/ufs/ufs_dirhash.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906030944.n539iQYX022706>