From: Chris Mason Date: Wed, 21 Apr 2010 20:04:43 +0000 (-0700) Subject: rds: switch to rwlock on bind_lock X-Git-Tag: v2.6.37-rc1~147^2~499^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976673ee1b92d939168c8c1fbad3e16c45caa545;p=pandora-kernel.git rds: switch to rwlock on bind_lock The bind_lock is almost entirely readonly, but it gets hammered during normal operations and is a major bottleneck. This commit changes it to an rwlock, which takes it from 80% of the system time on a big numa machine down to much lower numbers. A better fix would involve RCU, which is done in a later commit Signed-off-by: Chris Mason --- Reading git-diff-tree failed