commit | 8a8bc40d9ba0890f88dbf7a7c8fa81ddc77c08e3 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Jan 28 14:41:10 2013 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Feb 04 09:16:21 2013 -0500 |
tree | 30c6c2dcfeaa727bad2aa73738da8c5c871d0703 | |
parent | 09662d58d5a2d75c8c29558dda4fc5134ef14b25 [diff] |
nfsd: create a dedicated slabcache for DRC entries Currently we use kmalloc() which wastes a little bit of memory on each allocation since it's a power of 2 allocator. Since we're allocating a 1024 of these now, and may need even more later, let's create a new slabcache for them. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>