"深入解析Linux内核源代码:中断处理程序与内核同步"
170 浏览量
更新于2023-12-23
收藏 170KB PPT 举报
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, ..."
2021-12-09 上传
2021-09-28 上传
2022-05-10 上传
2010-04-09 上传
2022-11-24 上传
matlab大师
- 粉丝: 2737
- 资源: 8万+
最新资源
- C语言数组操作:高度检查器编程实践
- 基于Swift开发的嘉定单车LBS iOS应用项目解析
- 钗头凤声乐表演的二度创作分析报告
- 分布式数据库特训营全套教程资料
- JavaScript开发者Robert Bindar的博客平台
- MATLAB投影寻踪代码教程及文件解压缩指南
- HTML5拖放实现的RPSLS游戏教程
- HT://Dig引擎接口,Ampoliros开源模块应用
- 全面探测服务器性能与PHP环境的iprober PHP探针v0.024
- 新版提醒应用v2:基于MongoDB的数据存储
- 《我的世界》东方大陆1.12.2材质包深度体验
- Hypercore Promisifier: JavaScript中的回调转换为Promise包装器
- 探索开源项目Artifice:Slyme脚本与技巧游戏
- Matlab机器人学习代码解析与笔记分享
- 查尔默斯大学计算物理作业HP2解析
- GitHub问题管理新工具:GIRA-crx插件介绍