kernel-fxtec-pro1x/net/sunrpc
Trond Myklebust 23918b0306 SUNRPC: Fix a performance regression in the RPC authentication code
Fix a regression reported by Max Kellermann whereby kernel profiling
showed that his clients were spending 45% of their time in
rpcauth_lookup_credcache.

It turns out that although his processes had identical uid/gid/groups,
generic_match() was failing to detect this, because the task->group_info
pointers were not shared. This again lead to the creation of a huge number
of identical credentials at the RPC layer.

The regression is fixed by comparing the contents of task->group_info
if the actual pointers are not identical.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-20 13:17:40 -08:00
..
auth_gss
xprtrdma Merge branch 'next' 2008-10-15 15:54:56 -04:00
auth.c SUNRPC: Fix potential race in put_rpccred() 2008-10-28 15:21:42 -04:00
auth_generic.c SUNRPC: Fix a performance regression in the RPC authentication code 2008-11-20 13:17:40 -08:00
auth_null.c
auth_unix.c
cache.c
clnt.c Merge branch 'next' 2008-10-15 15:54:56 -04:00
Makefile
rpc_pipe.c
rpcb_clnt.c Merge branch 'next' 2008-10-15 15:54:56 -04:00
sched.c
socklib.c
stats.c
sunrpc_syms.c
svc.c SUNRPC: Fix up svc_unregister() 2008-09-29 18:13:40 -04:00
svc_xprt.c SUNRPC: Use proper INADDR_ANY when setting up RPC services on IPv6 2008-09-29 17:56:56 -04:00
svcauth.c
svcauth_unix.c
svcsock.c NLM: Remove unused argument from svc_addsock() function 2008-10-04 17:12:27 -04:00
sysctl.c sunrpc: fix possible overrun on read of /proc/sys/sunrpc/transports 2008-09-01 14:24:24 -04:00
timer.c
xdr.c
xprt.c sunrpc: do not pin sunrpc module in the memory 2008-10-07 18:14:54 -04:00
xprtsock.c SUNRPC: Respond promptly to server TCP resets 2008-10-28 15:21:39 -04:00