]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sunrpc: increase MAX_HASHTABLE_BITS to 14
authorMiquel van Smoorenburg <mikevs@xs4all.net>
Sun, 12 Sep 2010 23:55:26 +0000 (19:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 12 Sep 2010 23:55:26 +0000 (19:55 -0400)
commitdb5fe26541b6b48460104a0d949a27cdc7786957
treeb14418c090e078e1a5eba29d6da710d9cc7de94f
parent651b2933b22a0c060e6bb940c4104eb447a61f9a
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>
net/sunrpc/auth.c