Kernel Space: Ticket Spinlocks | Linux Today

Kernel Space: Ticket Spinlocks

Written By
JC
Jonathan Corbet
Feb 14, 2008

“Spinlocks are the lowest-level mutual exclusion mechanism in
the Linux kernel. As such, they have a great deal of influence over
the safety and performance of the kernel, so it is not surprising
that a great deal of optimization effort has gone into the various
(architecture-specific) spinlock implementations. That does not
mean that all of the work has been done, though; a patch merged for
2.6.25 shows that there is always more which can be done.

“On the x86 architecture, in the 2.6.24 kernel, a spinlock is
represented by an integer value…”

Complete
Story

JC

Jonathan Corbet

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.