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

Opened 10 years ago

Closed 10 years ago

#153 closed defect (fixed)

atomic operations are broken on arm32

Reported by: Jakub Jermář Owned by:
Priority: critical Milestone: 0.4.2
Component: helenos/kernel/arm32 Version: mainline
Keywords: Cc: jakub@…
Blocker for: Depends on:
See also:

Description

There are two points:

  1. the inline asm code just looks hopelessly wrong
  2. on pre-ARMv6, there is only the swp[b] instruction, which is not enough to implement atomic addition and/or compare and swap

Change History (4)

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

Priority: majorcritical

comment:2 Changed 10 years ago by Jakub Jermář

Cc: jakub@… added

comment:3 Changed 10 years ago by Jakub Jermář

Changeset:head,160 fixed this ticket in the kernel. The arm32 uspace remains broken.

comment:4 Changed 10 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

changeset:head,166 fixed the remaining part of the problem in userspace.

Note: See TracTickets for help on using tickets.