I understand new linux kernel allow kernel space threads to be pre-empted.
Can someone briefly explain how pre-empting works when executing in kernel mode?
So, when a system call is made, a software interrupt will switch the thread into kernel mode and it will run whats necessary.
Now, lets say its time slice is up - and another user thread runs and it also wants to execute in kernel space.
Do the "user space processes" and "kernel space processes(kernel threads)" share the same set of signal. handlers.Just wanted to how kernel sends signals differently depending on the region(user space or kernel space)where the process is running?