diff options
| author | Chris Mason <[email protected]> | 2010-04-22 21:59:15 -0400 |
|---|---|---|
| committer | Andy Grover <[email protected]> | 2010-09-08 18:12:28 -0700 |
| commit | 764f2dd92f5cd308d1c4372b33fea2b265c093f5 (patch) | |
| tree | f979329a2b5bfb0c92fc83e951d9ac7654c4ba78 /scripts | |
| parent | c83188dcd76b1f0c17c31b4bbd8de57c634b19f8 (diff) | |
rds: rcu-ize rds_ib_get_device()
rds_ib_get_device is called very often as we turn an
ip address into a corresponding device structure. It currently
take a global spinlock as it walks different lists to find active
devices.
This commit changes the lists over to RCU, which isn't very complex
because they are not updated very often at all.
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions