Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 6 years ago

Closed 5 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.

Change History (1)

comment:1 Changed 5 years ago by Jakub Jermář

Resolution: notadefect
Status: newclosed

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

Note: See TracTickets for help on using tickets.