summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-11-08 16:22:06 +1100
committerNeilBrown <neilb@suse.de>2011-11-08 16:22:06 +1100
commit257a4b42af7586fab4eaec7f04e6896b86551843 (patch)
treeec65357b2320ba4e4341a2853245048889666f5c /drivers/hwspinlock
parent9a3f530f39f4490eaa18b02719fb74ce5f4d2d86 (diff)
md/raid5: STRIPE_ACTIVE has lock semantics, add barriers
All updates that occur under STRIPE_ACTIVE should be globally visible when STRIPE_ACTIVE clears. test_and_set_bit() implies a barrier, but clear_bit() does not. This is suitable for 3.1-stable. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de> Cc: stable@kernel.org
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions