news.ycombinator.com

Untitled

dichenli · 0 points · 0 comments · 3 godziny temu

In this new blog post, I will share my Linux kernel code dive deep journey, to solve a case where CPU profiling revealed a mysterious kernel spin unlock function that burnt heavy CPU cycles. This is a practical study on text book concepts: CPU scheduling, threading model, context switches, semaphores, spin locks, memory barriers, CPU cache, preemptions, NUMA, and so on. Hope you enjoy this as much as I did!

Comments

0 preview comments · loading full thread