summaryrefslogtreecommitdiffstats
path: root/lib/sg_split.c
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-10-28 16:52:40 +0200
committerDoug Ledford <dledford@redhat.com>2015-12-23 10:19:54 -0500
commit9c584f04959620e587b3b3d358076dab48a8893c (patch)
tree8886d5acd75e2d01668b71aee9761da4cad23cfb /lib/sg_split.c
parentf3906bd36087dd3440ecaf6e044690374d01f927 (diff)
downloadlinux-9c584f04959620e587b3b3d358076dab48a8893c.tar.bz2
IB/core: Change per-entry lock in RoCE GID table to one lock
Previously, IB GID cached used a lock per entry. This could result in spending a lot of CPU cycles for locking and unlocking just in order to find a GID. Changing this in favor of one lock per a GID table. Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/sg_split.c')
0 files changed, 0 insertions, 0 deletions