On Sun, 2010-08-22 at 20:30 +0200, Miquel van Smoorenburg wrote: > 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@xxxxxxxxxx> > > diff -ruN linux-2.6.36-rc1.orig/net/sunrpc/auth.c linux-2.6.36-rc1/net/sunrpc/auth.c > --- linux-2.6.36-rc1.orig/net/sunrpc/auth.c 2010-08-16 02:41:37.000000000 +0200 > +++ linux-2.6.36-rc1/net/sunrpc/auth.c 2010-08-22 17:02:27.896009116 +0200 > @@ -38,7 +39,7 @@ > static LIST_HEAD(cred_unused); > static unsigned long number_cred_unused; > > -#define MAX_HASHTABLE_BITS (10) > +#define MAX_HASHTABLE_BITS (14) > static int param_set_hashtbl_sz(const char *val, const struct kernel_param *kp) > { > unsigned long num; Fair enough. Applied... Trond -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html