Finally, we understand the user-mode kernel state and the context switching relationship between interruption and signal. When the user-mode kernel state is in the kernel state, the user-mode context is stored in the kernel stack. If the user-mode kernel state is interrupted or switched, it does not distinguish whether the process is in the user or kernel state. The Soft Interrupt causes the conversion of the kernel state and the user State, that is, the conversion from the user context to the kernel context, interruption leads to conversion from user or kernel context to interrupt context. process switching leads to conversion from user/kernel context to user/kernel context. The key is that each process corresponds to a user stack and a kernel stack.
Additional reading:
Http://19880512.blog.51cto.com/936364/274610inner stack and user Stack
Http://baike.baidu.com/view/197370.htm? Fr = Aladdin Soft Interrupt. The concept of hard interrupt upper and lower segments has not been understood yet. kouu's blog has introduced
Http://www.2cto.com/ OS /201212/177668.html context: kernel, interrupt, and user
Http://www.embedu.org/Column/Column240.htm
Search for the Linux Process context and you will see the process context and interrupt context discussion.