In this post, you are going to learn below things.
a. What is Kernel space and user space?
b. Can a user process access kernel space?
c. What will happen when the Application Request IO operation
What is kernel space and user space?
System memory is divided into two regions.
a. User space
b. Kernel space
Kernel is the core component of operating system. Kernel component runs in kernel space and provide its services. it has full access to the memory and can able to talk to the hardware directly. No other programs, for example user applications can't access kernel space for security reasons.