"深入解析Linux内核源代码:中断处理程序与内核同步"
PPT格式 | 170KB |
更新于2023-12-23
| 101 浏览量 | 举报
The Linux kernel source code analysis interrupt handler and kernel synchronization ppt courseware.ppt; LINUX Interrupt Handler and Kernel Synchronization PPT Courseware.ppt; LINUX Interrupt Handler and Kernel Synchronization• System call and interrupt (review of previous lesson)• The upper and lower half mechanism of interrupt handling program• Lower half processing mechanism in LINUX• Classic synchronization problems• Implementation of kernel synchronization in LINUX• Experimental problem solving1 System calls and interrupts (review of previous lesson)• Principles of system calls• INT 80H• Interrupt descriptor (80H points to system_call)• System call table (system_call_table)• System call number (position of system call in the system call table)• Interrupts• Interrupt descriptors• Interrupt numbers• Interrupt handling program2 The upper and lower half mechanism of interrupt handling program• Why interrupt handling program needs to be divided into upper and lower halves – Interrupt handling program is executed asynchronously and may interrupt the execution of important operations, so the faster the better – Interrupt handling program masks other interrupts, so the faster the better – Interrupt handling program often needs to operate hardware, usually with high time constraints – Interrupt handling program does not run in the context of the process, so it cannot be blocked. In summary, the interrupt handling program must execute quickly, otherwise it will affect concurrency; the interrupt handling program must mask other interrupts at certain times. Some operations that must mask interrupts are placed in the upper half, and some operations that can be interrupted are placed in the lower half. This is the upper and lower half mechanism of interrupt handling in the operating system. (Example of network communication)3 How to separate the upper and lower halves
• If a task is very sensitive to time, ..."
相关推荐






matlab大师
- 粉丝: 2841
最新资源
- 映美GSX230打印机通用驱动v1.3发布,支持Win7
- VHDL实现的数字钟项目代码完整展示
- ProWiki开源Wiki引擎:自定义分层布局和访问权限
- VRay 3.6 for Rhino6汉化版发布:建筑设计渲染神器
- Vue项目common-lib-vue的开发和构建流程
- 深入探讨高速电路设计:SI、PI与EMC案例分析
- Linux下编译ffmpeg解码器so动态库指南
- 飞飞CMS2.8火车头免登陆模块及接口的feifei插件介绍
- 深入探讨pandas-gbq-0.21.0:Python数据分析库的强大工具
- 体外电生理记录低温平台研发及其应用
- 企业荣耀:corpgloria品牌深度解析
- Otto Web Framework深度解析:开源Python网络框架
- WordPress伪静态URL重写组件1.1版本发布
- VC++实现远程桌面信息获取方法
- mod_wsgi 3.5在Windows平台下支持Python和Apache版本集成
- 瓦楞纸板自动堆码装置设计与应用