diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-02-04 08:18:02 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-04 17:19:10 -0500 |
commit | 0338dd157282c19696d3c32614a748d0ba814b12 (patch) | |
tree | 4a42757386eab303fd723bcfbcadf843c921ebc8 /MAINTAINERS | |
parent | 0ee0bf7ee5b55f232b645c4af0b0c37d4e115a32 (diff) |
nfsd: dynamically allocate DRC entries
The existing code keeps a fixed-size cache of 1024 entries. This is much
too small for a busy server, and wastes memory on an idle one. This
patch changes the code to dynamically allocate and free these cache
entries.
A cap on the number of entries is retained, but it's much larger than
the existing value and now scales with the amount of low memory in the
machine.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions