spinlocks and free...

Can ExFreePool() be called while holding a WDFSPINLOCK?

Thx,
-PWM

Yes if what is being freed is non-paged pool, WDFSPINLOCK raises execution
to DISPATCH_LEVEL which is legal.


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

“Peter W. Morreale” wrote in message
news:xxxxx@ntdev…
>
> Can ExFreePool() be called while holding a WDFSPINLOCK?
>
> Thx,
> -PWM
>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4592 (20091110)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>

Information from ESET NOD32 Antivirus, version of virus signature database 4592 (20091110)

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

yes

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: Peter W. Morreale
Sent: Tuesday, November 10, 2009 7:08 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] spinlocks and free…

Can ExFreePool() be called while holding a WDFSPINLOCK?

Thx,
-PWM


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