Opened 12 years ago
Closed 11 years ago
#549 closed defect (notadefect)
Atomic operations are not SMP-safe
| Reported by: | Jakub Jermář | Owned by: | Jakub Jermář |
|---|---|---|---|
| Priority: | major | Milestone: | 0.6.0 |
| Component: | helenos/kernel/generic | Version: | mainline |
| Keywords: | smp, barriers | Cc: | |
| Blocker for: | Depends on: | ||
| See also: |
Description
Jiri Zarevucky noticed there are no memory barriers in the HelenOS atomic primitives (both kernel and uspace), which makes them SMP unsafe.
Note:
See TracTickets
for help on using tickets.

Closing as not a bug. The atomics have to be used with explicit memory barriers to be SMP safe.