in a high level driver say fs filter, is there a better way to implement SMP
safe code other than spin locks? i heard that spinlocks shud b avoived in
higher drivers due to performance issues.

Sure. Use ERESOURCE objects - they are the preferred mechanism for file system drivers.


Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.