diff options
author | Matan Barak <matanb@mellanox.com> | 2015-10-28 17:52:40 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-23 18:19:54 +0300 |
commit | 9c584f04959620e587b3b3d358076dab48a8893c (patch) | |
tree | 8886d5acd75e2d01668b71aee9761da4cad23cfb /lib/test_rhashtable.c | |
parent | f3906bd36087dd3440ecaf6e044690374d01f927 (diff) | |
download | linux-9c584f04959620e587b3b3d358076dab48a8893c.tar.xz |
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/test_rhashtable.c')
0 files changed, 0 insertions, 0 deletions