[ros-kernel] question of Synchronizing

Valentin valen_v at aquanet.co.il
Mon Oct 13 16:41:46 CEST 2003


Hi all

Do we have implemented functions like:
ACQUIRE_EX(Vcb->Resource);
RELEASE(Vcb->Resource);
 instead  using of:

KeAcquireSpinLock(&Vcb->ListLock, &oldIrql);
KeReleaseSpinLock(&Vcb->ListLock, oldIrql);


I have to keep several  linked Lists in memory  (Fcb, MFT Records, Index
blocks at least)
Does    multiple  SpinLock  acquiring can affect  a driver performance ?
Is there any difference between both kind of functions?

Regards,
Valentin.




More information about the Ros-kernel mailing list