IRQL and thread priority
From: Raj (r_konjeti_at_mailcity.com)
Date: 06/08/04
- Next message: Jason Cobb [MSFT]: "Re: SP_DRVINFO_DATA On 2000 and XP"
- Previous message: Arkady Frenkel: "Re: ObReferenceObject in WinCE"
- Next in thread: Peter Wieland [MSFT]: "Re: IRQL and thread priority"
- Reply: Peter Wieland [MSFT]: "Re: IRQL and thread priority"
- Reply: Maxim S. Shatskih: "Re: IRQL and thread priority"
- Messages sorted by: [ date ] [ thread ]
Date: 8 Jun 2004 08:29:39 -0700
1) Threads of different thread priorities call separate dispatch
routines of my driver using DeviceIoControl(). Does the dispatch
routine called by high priority thread executes "preempting" dispatch
routine code of lower priority thread. But all dispatch routines are
at PASSIVE_IRQL. Since these dispatch routines are runnning at thread
context, will they also get respective thread priority.
2) I know thread priorities are for scheduler only. But CPU has to
make decision of what code to service (whether influenced by scheduler
or not). Some driver code runs at arbitrary thread which means user
thread priorities dont affect those segments of driver code execution.
3) Is it code at APC_LEVEL and above is always prefered by CPU than
any high priority of user mode thread code. Even this may not be true
because MSDN is reluctant Applications using REAL_TIME_THREAD_PRIORITY
because that can effect file data flushing to disk etc.
Thanks.
- Next message: Jason Cobb [MSFT]: "Re: SP_DRVINFO_DATA On 2000 and XP"
- Previous message: Arkady Frenkel: "Re: ObReferenceObject in WinCE"
- Next in thread: Peter Wieland [MSFT]: "Re: IRQL and thread priority"
- Reply: Peter Wieland [MSFT]: "Re: IRQL and thread priority"
- Reply: Maxim S. Shatskih: "Re: IRQL and thread priority"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|