比如说系统产生的两个中断,irq5(自己用), irq7(串口用),我发现irq5会影响到系统对irq7的响应,有没有什么办法可以直接调整中断优先级,使irq7的优先级高于irq5?还有,能不能看到当前两个中断的优先级?谢谢
by xiaojiemao - 内核/嵌入技术 - 2005-03-31 10:33:19 阅读(2545) 回复(11)
比如说系统产生的两个中断,irq5(自己用), irq7(串口用),我发现irq5会影响到系统对irq7的响应,有没有什么办法可以直接调整中断优先级,使irq7的优先级高于irq5?还有,能不能看到当前两个中断的优先级?谢谢
x86上linux2.6.9默认情况下是网卡中断的优先级高,还是时钟中断的优先级高? 换句话说,如果程序在网卡中断处理程序中(中断上下文中)死锁了或者睡眠了,时钟中断可否抢占?
linux的中断处理是否没有中断优先级的概念? 今天看ULK3中断处理的章节。其中4.3章有如下描述: linux interleaves kernel control paths for two major reasons: To improve the throughput of programmable interrupt controllers and device controllers. Assume that a device controller issues a signal on an IRQ line: the PIC transforms it into an external interrupt, and then both the PIC and the device controll...
今天看ULK3中断处理的章节。其中4.3章有如下描述: linux interleaves kernel control paths for two major reasons: To improve the throughput of programmable interrupt controllers and device controllers. Assume that a device controller issues a signal on an IRQ line: the PIC transforms it into an external interrupt, and then both the PIC and the device controller remain blocked until the PIC receives ...
本帖最后由 wawava 于 2012-07-27 11:44 编辑 sched_rr,sched_fifo.优先级大小是怎么排的?我sched_get_priority_min值是1,优先级最大是1还是99? 我看网上有说99是优先级最大的,也有说1是最大的。我内核中的注释是这样的 /* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH * tasks are in the range MAX_RT_PRIO..MAX_PRIO-1. Priority * val...
x86上linux2.6.9默认情况下是网卡中断后半处理(softirq)的优先级高,还是tasklet的优先级高? 谁可以中断谁?
开始考虑这个问题 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42969/showart_342289.html