Revision 23918b03060f6e572168fdde1798a905679d2e06 authored by Trond Myklebust on 20 November 2008, 21:06:21 UTC, committed by Linus Torvalds on 20 November 2008, 21:17:40 UTC
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>
1 parent 0cb39aa
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 191 bytes |
us122l.c | -rw-r--r-- | 16.5 KB |
us122l.h | -rw-r--r-- | 432 bytes |
usX2Yhwdep.c | -rw-r--r-- | 7.7 KB |
usX2Yhwdep.h | -rw-r--r-- | 122 bytes |
usb_stream.c | -rw-r--r-- | 19.6 KB |
usb_stream.h | -rw-r--r-- | 2.6 KB |
usbus428ctldefs.h | -rw-r--r-- | 2.1 KB |
usbusx2y.c | -rw-r--r-- | 13.4 KB |
usbusx2y.h | -rw-r--r-- | 1.9 KB |
usbusx2yaudio.c | -rw-r--r-- | 29.1 KB |
usx2y.h | -rw-r--r-- | 1.5 KB |
usx2yhwdeppcm.c | -rw-r--r-- | 24.6 KB |
usx2yhwdeppcm.h | -rw-r--r-- | 458 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...