diff options
author | snb <snb@FreeBSD.org> | 2009-06-03 09:44:22 +0000 |
---|---|---|
committer | snb <snb@FreeBSD.org> | 2009-06-03 09:44:22 +0000 |
commit | 7f32f3f2a110cb1bf2681c657d5f47053e23f6c5 (patch) | |
tree | b9cd7cc5cf9fb5137de08181e4c192636eb3c203 /sys/gnu | |
parent | 9434014ec0ff82ae1d7b63a1c388cf2d41046a37 (diff) | |
download | FreeBSD-src-7f32f3f2a110cb1bf2681c657d5f47053e23f6c5.zip FreeBSD-src-7f32f3f2a110cb1bf2681c657d5f47053e23f6c5.tar.gz |
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
Diffstat (limited to 'sys/gnu')
0 files changed, 0 insertions, 0 deletions