Linux Has Thousands of Processes. How Does It Keep Track of Them?
From task_struct and PID radix trees to scheduler runqueues and the /proc filesystem, here is how the kernel manages thousands of tasks without slowing to a crawl.
Run this on any busy Linux server:
p
asepsayyad007.hashnode.dev24 min read