Ask Question
23 October, 08:17

When an interrupt transfers control to an operating system, a Kernel stack area separate from the stack of the interrupted process is generally used. Why?

+2
Answers (1)
  1. 23 October, 08:27
    0
    Control is transmitted to the operating system when an interrupt happens, which determines what action is to be done to be taken or usually what interrupt services.

    If the kernel leaves data in the memory space of a user program when returning from a system call, it may be possible for a malicious user to use this data to find out about other processes. In these systems, the kernel synchronizes by preventing interrupts in critical sections with interrupt handlers on a processor. Operating system may crash if it controls the interrupts because a poorly written user program does not provide sufficient stacking room.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “When an interrupt transfers control to an operating system, a Kernel stack area separate from the stack of the interrupted process is ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers