Ask Question
21 October, 20:13

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?

+4
Answers (1)
  1. 21 October, 21:57
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers