Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by sph on Friday November 25, 2022 @10:20AM
(#33743135)
Probably the context switch logic (save registers, switch to ring 0 mode, etc.) in the kernel might be. That's called for every syscall, up to thousands of times per second per active core.
It would be cool to know which is the most frequently called piece of code in the world. Maybe something that hasn't been changed in decades.
It would be cool to know which is the most frequently called piece of code in the world. Maybe something that hasn't been changed in decades.