From: Chris Mason Date: Fri, 23 Apr 2010 01:59:15 +0000 (-0400) Subject: rds: rcu-ize rds_ib_get_device() X-Git-Tag: v2.6.37-rc1~147^2~499^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=764f2dd92f5cd308d1c4372b33fea2b265c093f5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed