ExAcquireResourceExclusiveLite and IRQL level

According to the documentation, I must call ExAcquireResourceExclusiveLite
at <= APC_LEVEL. However, I have called it many times at Dispatch Level
with no ill effects. Is that just a lucky accident, or is really ok to use
it at dispatch level? Thanks.

Lucky accident. The documentation is correct. Try running under Verifier and
see what happens.

Bill Wandel

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neil Weicher
Sent: Saturday, January 16, 2010 4:47 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] ExAcquireResourceExclusiveLite and IRQL level

According to the documentation, I must call ExAcquireResourceExclusiveLite
at <= APC_LEVEL. However, I have called it many times at Dispatch Level
with no ill effects. Is that just a lucky accident, or is really ok to use
it at dispatch level? Thanks.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Neil Weicher wrote:

According to the documentation, I must call ExAcquireResourceExclusiveLite
at <= APC_LEVEL. However, I have called it many times at Dispatch Level
with no ill effects. Is that just a lucky accident, or is really ok to use
it at dispatch level? Thanks.

Lucky … at dispatch the scheduler is disabled for one thing.

Pete


Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295

> with no ill effects. Is that just a lucky accident

Yes.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com