Skip to main content

Static Deadlock Detection in the Linux Kernel

  • Conference paper
Reliable Software Technologies - Ada-Europe 2004 (Ada-Europe 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3063))

Included in the following conference series:

Abstract

This article describes a C code static analyser that detects misuse of spinlocks in the Linux kernel. Spinlock misuse is difficult to detect by testing, relatively common, and leads to runtime deadlocks in the Linux operating system kernel on multiprocessor architectures.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Breuer, P.T., Bowen, J.P.: A PREttier Compiler-Compiler: Generating higher order parsers in C. Software — Practice & Experience 25(11), 1263–1297 (1995)

    Article  Google Scholar 

  2. Breuer, P.T., Martínez Madrid, N., Sánchez, L., Marín, A., Delgado Kloos, C.: A formal method for specification and refinement of real-time systems. In: Proc. 8’th EuroMicro Workshop on Real Time Systems, July 1996, pp. 34–42. IEEE Press, L’aquilla (1996)

    Google Scholar 

  3. Breuer, P.T., Delgado Kloos, C., Martínez Madrid, N., López Marin, A., Sánchez, L.: A Refinement Calculus for the Synthesis of Verified Digital or Analog Hardware Descriptions in VHDL. ACM Transactions on Programming Languages and Systems (TOPLAS) 19(4), 586–616 (1997)

    Article  Google Scholar 

  4. Breuer, P.T.: A Formal Model for the Block Device Subsystem of the Linux Kernel. In: Dong, J.S., Woodcock, J. (eds.) ICFEM 2003. LNCS, vol. 2885, pp. 599–619. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  5. Chen, H., Wagner, D.: MOPS: An infrastructure for examining security properties of software. In: Proc. Ninth ACM Conference on Computer and Communications Security (CCS-9), Washington, DC, November 18-22 (2002)

    Google Scholar 

  6. Cousot, P., Cousot, R.: Abstract interpretation: A unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Proc. 4th ACM Symposium on the Principles of Programming Languages, pp. 238–252 (1977)

    Google Scholar 

  7. Raymond, E.S.: The Cathedral and the Bazaar. O’Reilly & Associates, Cambridge (1999)

    Google Scholar 

  8. Rubini, A.: Linux Device Drivers, February 1998. O’Reilly, Sebastopol (1998)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Breuer, P.T., Valls, M.G. (2004). Static Deadlock Detection in the Linux Kernel. In: Llamosí, A., Strohmeier, A. (eds) Reliable Software Technologies - Ada-Europe 2004. Ada-Europe 2004. Lecture Notes in Computer Science, vol 3063. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24841-5_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24841-5_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22011-4

  • Online ISBN: 978-3-540-24841-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics