Skip to content
Commit 764f2dd9 authored by Chris Mason's avatar Chris Mason Committed by Andy Grover
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent c83188dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment