Commit 753231e
committed
add more synchronization to h_malloc_disable_memory_tagging
This avoids concurrent reads/writes of ro.is_memtag_disabled which is
technically undefined without using atomic operations.1 parent 212947c commit 753231e
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2220 | 2220 | | |
2221 | 2221 | | |
2222 | 2222 | | |
2223 | | - | |
2224 | | - | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
2225 | 2226 | | |
2226 | 2227 | | |
2227 | 2228 | | |
2228 | 2229 | | |
2229 | 2230 | | |
2230 | 2231 | | |
2231 | 2232 | | |
2232 | | - | |
2233 | | - | |
2234 | | - | |
2235 | 2233 | | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
2236 | 2238 | | |
2237 | 2239 | | |
2238 | 2240 | | |
| |||
0 commit comments