summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorSandeepKsinha <sandeepksinha@gmail.com>2009-06-18 02:49:35 +0400
committerNeilBrown <neilb@suse.de>2009-06-18 02:49:35 +0400
commitaf11c397fd8835c70ec0bb777104e4ab98b2d660 (patch)
tree59371fb1f955083f890dd6434e4c2f0ab9b7a97a /tools/perf
parent0894cc3066aaa3e75a99383c0d25feebf9b688ac (diff)
downloadlinux-af11c397fd8835c70ec0bb777104e4ab98b2d660.tar.xz
md linear: Protecting mddev with rcu locks to avoid races
Due to the lack of memory ordering guarantees, we may have races around mddev->conf. In particular, the correct contents of the structure we get from dereferencing ->private might not be visible to this CPU yet, and they might not be correct w.r.t mddev->raid_disks. This patch addresses the problem using rcu protection to avoid such race conditions. Signed-off-by: SandeepKsinha <sandeepksinha@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions