A process's virtual address space contains 1 GB of kernel space:Now I assume that this 1 GB of kernel space points to data and code related to the kernel (including the Interrupt Descriptor Table (IDT)).Now let's say that some process is being executed by the CPU, and this process made a system call (fired the interrupt 0x80 (int 0x80)). What will happen is that the CPU will go to the IDT and execute the interrupt handler associated with the interrupt number 0x80.Now will the CPU stays in the current process, and execute the interrupt handler from the kernel space of the current process (so no context switching occurs)?
Does a context switch occurs when an interrupt is fired?
linux;process;linux kernel