summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorsnb <snb@FreeBSD.org>2009-06-03 09:44:22 +0000
committersnb <snb@FreeBSD.org>2009-06-03 09:44:22 +0000
commit7f32f3f2a110cb1bf2681c657d5f47053e23f6c5 (patch)
treeb9cd7cc5cf9fb5137de08181e4c192636eb3c203 /sys/gnu/fs
parent9434014ec0ff82ae1d7b63a1c388cf2d41046a37 (diff)
downloadFreeBSD-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/fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud