The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  What is IRQL and why is it important?
Time: 00:01 EST/05:01 GMT | News Source: Microsoft | Posted By: Kenneth van Surksum

When people first hear the term IRQL (pronounced Er-kel) their thoughts sometimes turn to the sitcom "Family Matters" and Jaleel White's alter ego, Steve Urkel. However, we're not going to be taking a trip down Television's Memory Lane today. Instead we're going to talk about Interrupt Request Levels - aka IRQL's. If you develop device drivers or spend a lot of time debugging, IRQL's are familiar territory for you. An interrupt request level (IRQL) defines the hardware priority at which a processor operates at any given time. In the Windows Driver Model, a thread running at a low IRQL can be interrupted to run code at a higher IRQL. The number of IRQL's and their specific values are processor-dependent.

Processes running at a higher IRQL will pre-empt a thread or interrupt running at a lower IRQL. An IRQL of 0 means that the processor is running a normal Kernel or User mode process. An IRQL of 1 means that the processor is running an Asynchronous Procedure Call (APC) or Page Fault. IRQL 2 is used for deferred procedure calls (DPC) and thread scheduling. IRQL 2 is known as the DISPATCH_LEVEL. When a processor is running at a given IRQL, interrupts at that IRQL and lower are blocked by the processor. Therefore, a processor currently at DISPATCH_LEVEL can only be interrupted by a request from an IRQL greater than 2. A system will schedule all threads to run at IRQL's below DISPATCH_LEVEL - this level is also where the thread scheduler itself will run. So if there is a thread that has an IRQL greater than 2, that thread will have exclusive use of the processor. Since the scheduler runs at DISPATCH_LEVEL, and that interrupt level is now blocked off by the thread at a higher IRQL, the thread scheduler cannot run and schedule any other thread. So far, this is pretty straightforward - especially when we're talking about a single processor system.

Write Comment
Return to News

  Displaying 426 through 427 of 427
Prev | First
  The time now is 2:22:29 PM ET.
Any comment problems? E-mail us
#426 By 4240821 (193.228.48.158) at 2/13/2025 5:06:46 PM
https://hotpic.cc/album/uPpXszqb7I9RD
https://hotpic.cc/album/cthOkKzeCtmuT
https://hotpic.cc/album/UgHiUKEgoi1vO
https://hotpic.cc/album/3NKAVUZMAdJGG
https://hotpic.cc/album/Abi6DkgZLwXVb
https://hotpic.cc/album/aOllfFw02IOzh
https://hotpic.cc/album/kuqO0yalyDnWC
https://hotpic.cc/album/fpXrqilASedoH
https://hotpic.cc/album/FfG1I1mrmTJQB
https://hotpic.cc/album/zqPEqVsdx5JLL

#427 By 4240821 (142.111.253.203) at 2/14/2025 2:51:13 PM
https://hotpic.cc/album/7OtRG9lkPkpaV
https://hotpic.cc/album/J6riOa4rO9RFr
https://hotpic.cc/album/j1aT0tsYdwdmf
https://hotpic.cc/album/2uzLCmnmrNakV
https://hotpic.cc/album/0t1BqKBdO1EIB
https://hotpic.cc/album/alHncxYWJrQTH
https://hotpic.cc/album/tAJzCmm1J6MlI
https://hotpic.cc/album/0UetKgiBFWrZI
https://hotpic.cc/album/hW8D60FYGNGco
https://hotpic.cc/album/W9C70pLX73ITy

Write Comment
Return to News
  Displaying 426 through 427 of 427
Prev | First
  The time now is 2:22:29 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *