---
title: "Discussion on \"Chapter 2: The kernel locks (Limitations of Spinlocks)\" | Hashnode"
description: "Discussion on \"Chapter 2: The kernel locks (Limitations of Spinlocks)\". Learn how to implement and use spinlock with irqsave in Linux kernel modules on the Raspberry Pi Zero W2. This guide covers dynamic spinlock initialization,"
url: "https://hashnode.com/posts/chapter-2-the-kernel-locks-limitations-of-spinlocks/66ae7cdb6f74b4a4e836a6a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Chapter 2: The kernel locks (Limitations of Spinlocks)](https://suyogb.hashnode.dev/chapter-2-the-kernel-locks-limitations-of-spinlocks?utm_source=hashnode&utm_medium=feed)

Learn how to implement and use spinlock with irqsave in Linux kernel modules on the Raspberry Pi Zero W2. This guide covers dynamic spinlock initialization,

Aug 3, 2024 · 5 min read · suyogb.hashnode.dev  
Updated Aug 17, 2024  
Read the article

-   [#spinlock-example](https://hashnode.com/tag/spinlock-example)
-   [#spinlockirqsave](https://hashnode.com/tag/spinlockirqsave)
-   [#spinunlockirqrestore](https://hashnode.com/tag/spinunlockirqrestore)
-   [#interrupt-handling](https://hashnode.com/tag/interrupt-handling)
-   [#critical-section-in-kernel](https://hashnode.com/tag/critical-section-in-kernel)
-   [#dynamic-spinlock](https://hashnode.com/tag/dynamic-spinlock)
-   [#kernel-module-tutorial](https://hashnode.com/tag/kernel-module-tutorial)
-   [#spinlock-with-irqsave](https://hashnode.com/tag/spinlock-with-irqsave)
-   [#preemption-in-kernel](https://hashnode.com/tag/preemption-in-kernel)
-   [#kernel-synchronization-primitives](https://hashnode.com/tag/kernel-synchronization-primitives)
-   [#kernel-development](https://hashnode.com/tag/kernel-development)

## Written by

[Suyog Buradkar](https://hashnode.com/@suyog44)

@suyog44 · Bangalore, India

  
[View profile](https://hashnode.com/@suyog44)

Linux Device Driver Engineer @ HCLTech

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
