Repository navigation
Commit 74ed7e6
target: remove some smp_mb__after_atomic()s
atomic_inc_return() already does an implicit memory barrier and the
second case was moved from an atomic to a plain flag operation. If a
barrier were needed in the second case, it would have to be smp_mb(),
not a variant optimized away for x86 and other architectures.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>1 parent 8f83269 commit 74ed7e6
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
1170 | 1169 | | |
1171 | 1170 | | |
1172 | 1171 | | |
| |||
2896 | 2895 | | |
2897 | 2896 | | |
2898 | 2897 | | |
2899 | | - | |
2900 | 2898 | | |
2901 | 2899 | | |
2902 | 2900 | | |
| |||
0 commit comments