diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2015-06-01 17:09:52 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 21:54:30 +0200 |
commit | 6f6ed482653723e53da4a57b200348ac1eed5ce9 (patch) | |
tree | 151ad0e5c6a77a66e29c733a3e9d59fbe0c5efed /arch/mips/sgi-ip27 | |
parent | 5f93ef5cfb867aca400598f69f9ce8af14b0ced0 (diff) | |
download | linux-6f6ed482653723e53da4a57b200348ac1eed5ce9.tar.bz2 |
MIPS: Replace smp_mb with release barrier function in unlocks.
Repleace smp_mb() in arch_write_unlock() and __clear_bit_unlock() to
smp_mb__before_llsc() call which does "release" barrier functionality.
It seems like it was missed in commit f252ffd50c97dae87b45f1dbad24f71358ccfbd6
during introduction of "acquire" and "release" semantics.
[ralf@linux-mips: The original patch submission was labelled a fix but
actually it replaces a barrier with another less restrictive type of
barrier so it doesn't fix any ill behaviour but rather squeezes out a
tad better performance. Further improvments will be possible once
smp_release() has been merged.]
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: benh@kernel.crashing.org
Cc: will.deacon@arm.com
Cc: linux-kernel@vger.kernel.org
Cc: markos.chandras@imgtec.com
Cc: macro@linux-mips.org
Cc: Steven.Hill@imgtec.com
Cc: alexander.h.duyck@redhat.com
Cc: davem@davemloft.net
Patchwork: https://patchwork.linux-mips.org/patch/10507/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
0 files changed, 0 insertions, 0 deletions