Commit 9fdaede
committed
Need writeBarrier between resetting the state and freeContinuation
For weak memory ordering system such as PowerPC, we need to writeBarrier
between resetting the state of continuation(set the state to unmounted)
and freeing continuation/postUnmountContinuation during continuation
unmounting to avoid potential assert/issue caused by inconsist state
(in case the instructions are reordered).
Signed-off-by: hulin <linhu@ca.ibm.com>1 parent d5dea53 commit 9fdaede
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
0 commit comments