Commit b285bb7
Francesco Lavra
FUTEX_WAKE_OP: use atomic read-modify-write memory access
In a FUTEX_WAKE_OP futex operation, the kernel modifies the memory pointed
to by the 'uaddr2' argument; according to the Linux ABI, this modification
must be done using atomic machine instructions.1 parent 732802d commit b285bb7
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | 255 | | |
257 | 256 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
263 | 262 | | |
264 | 263 | | |
265 | 264 | | |
| |||
0 commit comments