ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
37 stars 36 forks source link

osq_lock - ensure spin node and spin queue alignment #65

Closed jty2 closed 2 years ago

jty2 commented 2 years ago

calloc() does not return memory aligned for 128 byte cache lines. Use aligned_alloc() to do so.

Make alignment parameterized, at least in a #define.