Question: If a user program needs to perform I/O, it needs to trap the OS via a system call that transfers control to the kernel. The
If a user program needs to perform I/O, it needs to trap the OS via a system call that transfers control to the kernel. The kernel performs I/O on behalf of the user program. However, systems calls have added overheads, which can slow down the entire system. In that case, why not let user processes perform I/O directly, without going through the kernel?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
