ExFreeToLookasideListEx thread safe?

Does ExFreeToLookasideListEx used interlocked functions or should I use locking around access to an lookaside list?

Thanks,
Rob

It will take care of its own locking as needed.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@dell.com” wrote in message
news:xxxxx@ntdev:

> Does ExFreeToLookasideListEx used interlocked functions or should I use locking around access to an lookaside list?
>
> Thanks,
> Rob

This is a great question that a thoughtful developer *should* ask – and it is the 2nd time I’ve heard this question asked in a week. I think that pushes it over the threshold of “pertinent information that is inadequately documented.” Sounds like a potential entry for the bug bash :slight_smile:

http://www.osronline.com/page.cfm?name=bugbash

(Disclaimer: I do not judge the entries in the bug bash, and I’ve only gently skimmed its Rules And Regulations. I don’t guarantee a submission will be accepted, nor that it won’t cause irritability, sleep loss, or undesired hair growth.)

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Monday, November 15, 2010 2:04 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] ExFreeToLookasideListEx thread safe?

It will take care of its own locking as needed.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@dell.com” wrote in message
news:xxxxx@ntdev:

> Does ExFreeToLookasideListEx used interlocked functions or should I use locking around access to an lookaside list?
>
> Thanks,
> Rob


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars 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