Opened 15 years ago

Closed 15 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 by Jakub Jermář, 15 years ago

Priority: majorcritical

comment:2 by Jakub Jermář, 15 years ago

Cc: jakub@… added

comment:3 by Jakub Jermář, 15 years ago

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

comment:4 by Jakub Jermář, 15 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.