Understanding of the upper half and lower half of Linux kernel

Source: Internet
Author: User
Understanding of the upper half and lower half of the Linux kernel-general Linux technology-Linux programming and kernel information. The following is a detailed description. The activities of the operating system core during running can be divided into two parts: top half (top half) and bottom half (bottom half). The top half is divided into applications that provide system calling or self-trapping services, it is a synchronization service, caused by the currently executed process. It is executed in the context of the current process and allows direct access to the data structure of the current process;

The lower part is a subroutine that processes hardware interruptions and is an asynchronous activity. The call and execution of these subroutines are irrelevant to the current process.

The upper part is allowed to be blocked because the current process is blocked; the lower part is not allowed to be blocked because blocking the lower part causes blocking of an innocent process or even the entire core.
Related Article

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.