In: Computer Science
Why do kernel modules generally perform better than user-space device drivers?
Name and define five sections of the process space.
kernel modules generally perform better than user-space device drivers because
When private addresses are allocated to a process by other processes, inorder to avoid storage violation and to protect access to those provate addresses, Operating systems implements Memory Protection. This private space is called Process Space.
Five sections of the process space are
1. Text segment
2. Initialized data segment
3. Uninitialized data segment
4. Stack
5. Heap