Futex based locks for C11's generic atomics

Jens Gustedt 1
1 CAMUS - Compilation pour les Architectures MUlti-coeurS
Inria Nancy - Grand Est, ICube - Laboratoire des sciences de l'ingénieur, de l'informatique et de l'imagerie
Abstract : We present a new algorithm and implementation of a lock primitive that is based on Linux' native lock interface, the futex system call. It allows us to assemble compiler support for atomic data structures that can not be handled through specific hardware instructions. Such a tool is needed for C11's atomics interface because here an _Atomic qualification can be attached to almost any data type. Our lock data structure for that purpose meets very specific criteria concerning its field of operation and its performance. By that we are able to outperform gcc's libatomic library by around 60%.
Type de document :
Rapport
[Research Report] RR-8818, INRIA Nancy. 2015
Liste complète des métadonnées

Littérature citée [7 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01236734
Contributeur : Jens Gustedt <>
Soumis le : mercredi 2 décembre 2015 - 10:55:13
Dernière modification le : samedi 27 octobre 2018 - 01:27:27
Document(s) archivé(s) le : samedi 29 avril 2017 - 03:01:16

Fichier

RR-8818.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01236734, version 1

Citation

Jens Gustedt. Futex based locks for C11's generic atomics. [Research Report] RR-8818, INRIA Nancy. 2015. 〈hal-01236734〉

Partager

Métriques

Consultations de la notice

483

Téléchargements de fichiers

567