Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
22

What Makes System Calls Expensive: A Linux Internals Deep Dive

from Confessions of a Code Addict [alt+shift+b] in programming

An explanation of how Linux handles system calls on x86-64 and why they show up as expensive operations in performance profiles
16th Sep 2025

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Confessions of a Code Addict

How and Why fork() Uses Copy-on-Write

In this video, we look at why fork() needs copy-on-write, how it works inside the kernel, and a memory usage problem that Instagram encountered with Python.

2nd Oct 2026 • 2 votes
How Copy-on-Write Works with Memory-Mapped Files

Let’s step inside the kernel and understand how it implements copy-on-write and what are its implications for the performance of user-space systems

27th Sep 2026 • 1 votes
x86 Addressing Modes, Part 2: Indirect, Indexed, and Offset-based Modes

In this final part on addressing modes, we learn about indirect, indexed and offset-based addressing modes along with some interesting examples and exercises.

9th Aug 2026 • 1 votes
Why Git Has a Variable Named false_but_the_compiler_does_not_know_it

A small C trick that keeps Clang from flagging valid code as unreachable

3rd Jun 2026 • 1 votes
Virtual Memory: A Deep Dive into Page Tables, TLBs, and Linux Internals

From page faults to NUMA topology: how the Linux kernel manages memory, and what that means for the performance of data-intensive systems.

10th May 2026 • 1 votes

More in programming

Comments and emails

Why Bear doesn't have comments

15 hours ago • 3 votes
“Lucky to Be Me” from On the Town

Playing, and singing, the song “Lucky to Be Me” from Leonard Bernstein’s

yesterday • 2 votes
Talk: Clojure, интерфейсы и потерянные смыслы @ Организованное программирование

С Кириллом Мокевниным обсуждаем, почему функциональные языки не выиграли в эпоху ИИ, как агентная разработка меняет код-ревью и инструменты, куда уходят IDE и редакторы, что будет с карьерой разработчика после 40 и как я оказался в Linear.

2 days ago • 1 votes
AI Homelab Part 4: Lowering the floor for Scout

Helping Scout focus and remember

3 days ago • 3 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in