diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-11-20 21:06:21 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-20 21:17:40 (GMT) |
commit | 23918b03060f6e572168fdde1798a905679d2e06 (patch) | |
tree | 4e95edb5030e461a1eb82e2f1fb9cb90a3b46013 /net/ipv6/xfrm6_mode_beet.c | |
parent | 0cb39aa0ac3a9dc64171b43a85d17e539d82f2d6 (diff) | |
download | linux-fsl-qoriq-23918b03060f6e572168fdde1798a905679d2e06.tar.xz |
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>
Diffstat (limited to 'net/ipv6/xfrm6_mode_beet.c')
0 files changed, 0 insertions, 0 deletions