Increasing Automation in the Backporting of Linux Drivers Using Coccinelle

Luis R. Rodriguez 1 Julia Lawall 2
2 Whisper - Well Honed Infrastructure Software for Programming Environments and Runtimes
LIP6 - Laboratoire d'Informatique de Paris 6, Inria Paris-Rocquencourt
Abstract : Software is continually evolving, to fix bugs and add new features. Industry users, however, often value stability, and thus may not be able to update their code base to the latest versions. This raises the need to selectively backport new features to older software versions. Traditionally, backporting has been done by cluttering the backported code with preprocessor directives, to replace behaviors that are unsupported in an earlier version by appropriate workarounds. This approach however involves writing a lot of error-prone backporting code, and results in implementations that are hard to read and maintain. We consider this issue in the context of the Linux kernel, for which older versions are in wide use. We present a new backporting strategy that relies on the use of a backporting compatability library and on code that is automatically generated using the program transformation tool Coccinelle. This approach reduces the amount of code that must be manually written, and thus can help the Linux kernel backporting effort scale while maintaining the dependability of the backporting process.
Type de document :
Communication dans un congrès
11th European Dependable Computing Conference - Dependability in Practice, Nov 2015, Paris, France. 2015, 11th European Dependable Computing Conference - Dependability in Practice
Liste complète des métadonnées

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

https://hal.inria.fr/hal-01213912
Contributeur : Julia Lawall <>
Soumis le : lundi 12 octobre 2015 - 14:03:15
Dernière modification le : jeudi 11 janvier 2018 - 06:26:02
Document(s) archivé(s) le : jeudi 27 avril 2017 - 00:11:53

Fichier

backport_edcc15.pdf
Fichiers éditeurs autorisés sur une archive ouverte

Licence


Copyright (Tous droits réservés)

Identifiants

  • HAL Id : hal-01213912, version 1

Collections

Citation

Luis R. Rodriguez, Julia Lawall. Increasing Automation in the Backporting of Linux Drivers Using Coccinelle. 11th European Dependable Computing Conference - Dependability in Practice, Nov 2015, Paris, France. 2015, 11th European Dependable Computing Conference - Dependability in Practice. 〈hal-01213912〉

Partager

Métriques

Consultations de la notice

127

Téléchargements de fichiers

162