Thoughts on Kernel-state user States and signals (the interrupt upper and lower segments are not understood)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.