How Tech - Systems Programming

How Tech - Systems Programming

Signal Handling Internals: The Kernel Stack and Context Switching

Dec 09, 2025
∙ Paid

When your production service crashes at 3 AM because a signal handler called malloc(), you realize signals aren’t just “software interrupts.” They’re a complex dance between user space, kernel space, and CPU hardware that most engineers never fully understand. Let me show you what actually happens when a signal arrives.

The Real Problem: Asynchronous Exe…

User's avatar

Continue reading this post for free, courtesy of Systems.

Or purchase a paid subscription.
© 2026 Sumedh S · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture