...是重要,本文主要从驱动程序开发的角度来理解中断,以及内核提供的与中断处理相关的几种内部机制,主要包括等待队列(Wait Queues)、Softirq、Tasklets、下半部(Bottom Halves)以及任务队列(Task Queues)。
基于18个网页-相关网页
Wait queues have several USES in the kernel, particularly for interrupt handling, process synchronization, and timing.
等待队列在内核中有很多用途,尤其适合用于中断处理、进程同步及定时。
These are queues that have a wait free side where an NHRT can request to read or write some data (depending on the class) without the danger of blocking.
这些类是具有无等待端的队列,在这里,一个NHRT可以请求读或写某些数据(具体取决于类),而不存在阻塞的风险。
Since this wait queue is used sparsely, a smaller wait queue implementation using hash queues to find the correct wait queue has been implemented in the rmap patch.
因为这个等待队列极少用到,所以在 rmap 补丁中实现了一个更小的队列,通过哈希队列来找到正确的等待队列。
应用推荐