Skip to content
Long Wang
Archive Search Tags About

Linux

Linux

What Does TCP listen() Backlog Actually Control on Linux?

Does listen() backlog control the SYN queue or accept queue? Trace Linux 6.10 behavior through somaxconn, SYN cookies, …

Aug 10, 2026 · 7 min read
Linux

How epoll Wakes a Waiting Thread in the Linux Kernel

Trace epoll from epoll_ctl() registration to socket wakeups, ep_poll_callback(), ready-list delivery, ovflist races, …

Aug 5, 2026 · 8 min read
Linux

What Actually Happens During a Linux System Call on x86-64?

Follow a Linux system call across the x86-64 privilege boundary: registers, entry_SYSCALL_64, kernel stacks, KPTI, …

Aug 2, 2026 · 8 min read
Linux

Why Fewer Syscalls Don't Make io_uring Faster Than epoll

io_uring can reduce system calls without improving throughput or tail latency. Compare its completion model, batching, …

Jul 28, 2026 · 8 min read
Linux

mmap() vs read(): When Zero-Copy Is Actually Slower

Is mmap() faster than read()? Compare copying, page faults, readahead, TLB pressure, tail latency, and the workloads …

Jul 13, 2026 · 9 min read
Linux

fork() in Multithreaded Programs: The Child Gets the State, Not the Threads

When a multithreaded process calls fork(), the child keeps locked mutexes, half-flushed buffers, and shared file …

Jul 10, 2026 · 9 min read
Linux

Linux Processes vs Threads: NPTL and Clone() Explained

This article explains the differences between Linux processes and threads, focusing on how Linux implements threading …

Sep 24, 2019 · 10 min read
Long Wang Field-tested notes on AI and backend engineering
Site ArchiveSearchTagsAbout
Follow GitHub RSS Email
Powered by Hugo and the Stacknote theme © 2026 Long Wang · All rights reserved