commit | db5fe26541b6b48460104a0d949a27cdc7786957 | [log] [tgz] |
---|---|---|
author | Miquel van Smoorenburg <mikevs@xs4all.net> | Sun Sep 12 19:55:26 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Sep 12 19:55:26 2010 -0400 |
tree | b14418c090e078e1a5eba29d6da710d9cc7de94f | |
parent | 651b2933b22a0c060e6bb940c4104eb447a61f9a [diff] |
sunrpc: increase MAX_HASHTABLE_BITS to 14 The maximum size of the authcache is now set to 1024 (10 bits), but on our server we need at least 4096 (12 bits). Increase MAX_HASHTABLE_BITS to 14. This is a maximum of 16384 entries, each containing a pointer (8 bytes on x86_64). This is exactly the limit of kmalloc() (128K). Signed-off-by: Miquel van Smoorenburg <mikevs@xs4all.net> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>