IoFreeMdl without MmUnlockPages?

Just out of curiousity I ran a test loop that issued IoFreeMdl without a
preceeeding MmUnlockPages. To my surprise, there was no bugcheck and no
depletion of kernel space. What are the implications of calling IoFreeMdl
without MmUnlockPages?

Thanks.

Neil,

IoFreeMdl will unlock any locked pages in the MDL before freeing it but
it only does this if it is a “Partial MDL”. Was it a partial MDL in
your case?

I have filed a documentation bug to get the docs updated with this
information.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neil Weicher
Sent: Monday, July 26, 2004 7:02 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] IoFreeMdl without MmUnlockPages?

Just out of curiousity I ran a test loop that issued IoFreeMdl without a
preceeeding MmUnlockPages. To my surprise, there was no bugcheck and no
depletion of kernel space. What are the implications of calling
IoFreeMdl
without MmUnlockPages?

Thanks.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com