summaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-04-21 13:04:43 -0700
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:12:26 -0700
commit976673ee1b92d939168c8c1fbad3e16c45caa545 (patch)
tree36c682f96789118bebe0c14e3a5a5353b184a22b /net/rds/rds.h
parentce47f52f42e69d48d1b63fa618fce9cd7ffa9417 (diff)
downloadop-kernel-dev-976673ee1b92d939168c8c1fbad3e16c45caa545.zip
op-kernel-dev-976673ee1b92d939168c8c1fbad3e16c45caa545.tar.gz
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 <chris.mason@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud