简体   繁体   English

Linux中断处理:在SA_SHIRQ或IRQF_SHARED标志中谁将决定优先级(用户/内核)?

[英]Linux interrupt handling: in SA_SHIRQ or IRQF_SHARED flag who will decide priority(user/kernel)?

in request_irq() suppose I am sharing one irq no with two handler function, so who will decide which handler should execute first and which should second? 在request_irq()中假设我与两个处理函数共享一个irq no,那么谁将决定哪个处理程序应该先执行哪个处理程序应该先执行? whether we can change the priority of handler that should execute first? 我们是否可以改变应首先执行的处理程序的优先级?

SA_SHIRQ is depleted for years. SA_SHIRQ已经耗尽多年。 use IRQF_SHARED. 使用IRQF_SHARED。 you can check kernel code interrupt.h 你可以检查内核代码interrupt.h

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM