That's not how the kernel works? Most of an application lives and runs in userspace while kernel calls are only done for stuff like IO or memory allocation
If you needed a syscall to the kernel for EVERY operation no language would be fast, tell me you understand nothing about operating systems without telling me
Technically true. But look at how much of your work still fits into one of the two categories I specified. "All algorithmic stuff" from the kernel's perspective is just wasting CPU cycles.
View all comments
Show parent comment
5
u/FabioTheFox 2d ago
That's not how the kernel works? Most of an application lives and runs in userspace while kernel calls are only done for stuff like IO or memory allocation
If you needed a syscall to the kernel for EVERY operation no language would be fast, tell me you understand nothing about operating systems without telling me