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 201 through 204 of 204
Prev | First
  The time now is 5:32:42 PM ET.
Any comment problems? E-mail us
#201 By 4240821 (212.193.138.162) at 8/28/2024 12:57:36 AM
https://bio.site/lingmodone813
https://bio.site/caconhindpa353
https://bio.site/calmembnaldbar712
https://bio.site/kovsmoukhstimen904
https://bio.site/pietagoldta489
https://bio.site/bergzofelde833
https://bio.site/soundmatchnodown717
https://bio.site/izsinade819
https://bio.site/weilisiro758
https://bio.site/bergzofelde833

#202 By 4240821 (166.1.149.158) at 8/28/2024 4:30:02 AM
https://bio.site/justhurdsandnag733
https://bio.site/enojalav17
https://bio.site/roottocolri989
https://bio.site/trimunapor83
https://bio.site/mierividsa555
https://bio.site/phomoramkpor866
https://bio.site/prinexwhiscu500
https://bio.site/petiriri556
https://bio.site/saunalcoode79
https://bio.site/thorpostxinco574

#203 By 4240821 (195.208.3.68) at 10/5/2024 10:07:26 AM
https://bio.site/liderocont982
https://bio.site/randusttales431
https://bio.site/flypadnori546
https://bio.site/gemobisdyo155
https://bio.site/calmembnaldbar712
https://bio.site/flypadnori546
https://bio.site/tertoispirmai752
https://bio.site/iccegetto389
https://bio.site/asacbunla503
https://bio.site/rensducponal176

#204 By 4240821 (62.76.153.72) at 10/5/2024 5:14:16 PM
https://allmyfaves.com/arolcyto529
https://allmyfaves.com/adterreogreet546
https://allmyfaves.com/avalamun330
https://allmyfaves.com/lentmarroumo262
https://allmyfaves.com/inblabinke475
https://allmyfaves.com/plumhaumaipa615
https://allmyfaves.com/mothquithumni506
https://allmyfaves.com/propatealve858
https://allmyfaves.com/pyoukulronszers987
https://allmyfaves.com/krafametoc66

Write Comment
Return to News
  Displaying 201 through 204 of 204
Prev | First
  The time now is 5:32:42 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *