I read the following:
"All processes begin execution in user mode, and they switch to kernel mode only when obtaining a service provided by the kernel."
When it says "obtaining a service provided by the kernel", does "service" refer to a system call like fork()
or I/O operation like accessing information from a peripheral like a keyboard?
Does this mean that during these kind of operations like spawning a new subprocess or I/O operations puts the currently running process in kernel mode and gives it access to kernel low level functions?
Here's the source: https://stackoverflow.com/questions/16707098/node-js-kernel-mode-threading