summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorjiangyiwen <jiangyiwen@huawei.com>2016-03-15 14:52:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-15 16:55:16 -0700
commit4d548f61d61fcaa5b5e14b8d250de9604bdb61bf (patch)
tree943fa3d4653fad7331c1bfea3584e7d144af479a /mm
parente928f35061a6f3ead993b230b01d9ca6b4f495ca (diff)
downloadlinux-4d548f61d61fcaa5b5e14b8d250de9604bdb61bf.tar.gz
ocfs2/cluster: replace the interrupt safe spinlocks with common ones
There actually no hardware or software interrupts in the context which using o2hb_live_lock, so we don't need to worry about race conditions caused by irq/softirq with spinlock held. Turning off irq is not good for system performance after all. Just replace them with a non interrupt safe function. Signed-off-by: Yiwen Jiang <jiangyiwen@huawei.com> Reviewed-by: Joseph Qi <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions