hi folks,
I guess all of us must be using IoAquireCancelSpinLock / IoReleaseCancelSpinlock DKK calls…it is obvious that the system has created a spinlock for its internal usage…and DDK provides these functions to use that system spinlock.
The question is this :
At what level is this spinlock held ??? …
—is it a system wide spinlock…?? that is one lock for the whole system.
—is it a driver wide spinlock…??every driver has an individual cancel spinlock
— is it a device stack wide spinlock…??
thanks
Sriram.N
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
IoAquireCancelSpinLock acquires the one and only global cancel spinlock. I
personally have never written a driver that acquires this lock, I’ve only
written drivers that release it. The global cancel spinlock is a hideous
design defect in NT and has been since the first release.
Otherwise this lock is just a regular executive spinlock - code holding the
lock executes at DISPATCH_LEVEL.
-----Original Message-----
From: Sriram Neelakandan Iyer [mailto:xxxxx@yahoo.com]
Sent: Tuesday, September 11, 2001 2:22 AM
To: NT Developers Interest List
Subject: [ntdev] IoAcquireCancelSpinLock!!!
hi folks,
I guess all of us must be using IoAquireCancelSpinLock /
IoReleaseCancelSpinlock DKK calls…it is obvious that the system has created
a spinlock for its internal usage…and DDK provides these functions to use
that system spinlock.
The question is this :
At what level is this spinlock held ??? …
—is it a system wide spinlock…?? that is one lock for the whole system.
—is it a driver wide spinlock…??every driver has an individual cancel
spinlock
— is it a device stack wide spinlock…??
thanks
Sriram.N
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
http:</http:> Messenger. — You
are currently subscribed to ntdev as: xxxxx@stratus.com To unsubscribe
send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
DISPATCH_LEVEL, the spinlock is machine-global (IopCancelLock in the kernel).
Max
----- Original Message -----
From: Sriram Neelakandan Iyer
To: NT Developers Interest List
Sent: Tuesday, September 11, 2001 10:22 AM
Subject: [ntdev] IoAcquireCancelSpinLock!!!
hi folks,
I guess all of us must be using IoAquireCancelSpinLock / IoReleaseCancelSpinlock DKK calls…it is obvious that the system has created a spinlock for its internal usage…and DDK provides these functions to use that system spinlock.
The question is this :
At what level is this spinlock held ??? …
—is it a system wide spinlock…?? that is one lock for the whole system.
—is it a driver wide spinlock…??every driver has an individual cancel spinlock
— is it a device stack wide spinlock…??
thanks
Sriram.N
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. — You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com