diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-28 02:36:01 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-08 04:55:11 +0200 |
commit | 7a0031ac07b250d2696248305738054f6b3b3adf (patch) | |
tree | 7875812b2ef96ee8d61131b05296156994520515 /net/unix/sysctl_net_unix.c | |
parent | 86b9f8ae939ca04cd9abd893272c8fb06293ef41 (diff) | |
download | kernel-crypto-7a0031ac07b250d2696248305738054f6b3b3adf.tar.gz kernel-crypto-7a0031ac07b250d2696248305738054f6b3b3adf.tar.xz kernel-crypto-7a0031ac07b250d2696248305738054f6b3b3adf.zip |
Stop looking in the hash table after the first match.
There should be only one entry anyway. This reduces the average lookup
time when there are hash collisions roughly by half.
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions