Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> that syscall is called some 10^12 times per second globally?

wow. that blows my mind. is that the most frequently invoked piece of code in the world?



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.


I'm not qualified to do it, but someone should write a blog post figuring this out




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: