Fast Mutex Lock

Filter Driver, Win2k

Can I have one Fast Mutex Lock for 3 link lists for synronization ??
These 3 link lists are 100+ elements to be used in CREATE, WRITE,
SET_INFORMATION , dispatch routines and completion routine
MN_QUERY_DIRECTORY .

Regards
Anurag

Sure you can have one lock for 10,000 lists. What you do not want to do is
end up in a recursive acquisition problem (the one lock deadlock scenario)
nor do you want to have the world’s slowest file system filter driver.

=====================
Mark Roddy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anurag Sarin
Sent: Wednesday, December 01, 2004 10:30 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Fast Mutex Lock

Filter Driver, Win2k

Can I have one Fast Mutex Lock for 3 link lists for synronization ??
These 3 link lists are 100+ elements to be used in CREATE, WRITE,
SET_INFORMATION , dispatch routines and completion routine
MN_QUERY_DIRECTORY .

Regards
Anurag


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Your decision.

Having a single lock means - single bottleneck. Accesses to the shorter
list will be stalled while some work occurs with a longer list.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Anurag Sarin”
To: “Windows System Software Devs Interest List”
Sent: Wednesday, December 01, 2004 6:29 PM
Subject: [ntdev] Fast Mutex Lock

Filter Driver, Win2k

Can I have one Fast Mutex Lock for 3 link lists for synronization ??
These 3 link lists are 100+ elements to be used in CREATE, WRITE,
SET_INFORMATION , dispatch routines and completion routine
MN_QUERY_DIRECTORY .

Regards
Anurag


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com