20. Debugging and TracingDescribe how the kernel manages debugging and tracing for the child process if the parent process is being traced by a debugger during the `fork()` system call.
19. Handling Pending SignalsHow does the kernel handle pending signals for the parent and child processes before returning to user space after a `fork()` system call?
18. Architecture-Specific Considerations: RISC-VHow is the return to user space managed on RISC-V architectures? What is the function of the `sret` instruction?
16. Architecture-Specific Considerations: x86/x86_64How is the return to user space managed on x86/x86_64 architectures? Describe the use of the `iret` instruction in this context.
15. Detailed Example of Returning to User SpaceWalk through a detailed example of the steps involved in returning to user space after a `fork()` system call, from setting return values to continuing …
14. Execution of Parent and Child ProcessesAfter the CPU switches back to user mode, how do the parent and child processes continue their execution? What distinguishes their execution paths?
13. Switching Back to User ModeHow does the kernel switch the CPU from kernel mode back to user mode after setting up the CPU state for the parent and child processes?
12. Restoring CPU StateDescribe the process of restoring the CPU state for both the parent and child processes after a `fork()` system call. What elements are included in the CPU state?
11. Return Values of `fork()`Explain how the kernel sets the return values of `fork()` for the parent and child processes. Why are these return values different?
10. Load Balancing in Multiprocessor SystemsWhat is load balancing in the context of a multiprocessor system, and how does the scheduler achieve it? Why is load balancing important?
9. Priority ManagementHow does priority management influence the scheduling of processes in Linux? What factors are considered in calculating the priority of a task?
8. Scheduling Policies and AlgorithmsBriefly describe the Completely Fair Scheduler (CFS), Round Robin scheduling, and Real-Time scheduling. How does each policy determine the next process to run?
6. Scheduler Decision-MakingHow does the scheduler decide which process to run next? Mention some of the algorithms and factors involved in this decision-making process.