Driver Verifier & MmProbeAndLockPages

Hi,

I’m using MmProbeAndLockPages to lock down a user buffer for processing
sometime later in an unknown context. When I run driver verifier, I get
the following warning message:

*******************************************************************************

*
*
* The Driver Verifier has detected the driver at address F80A9FAF
* is calling MmMapLockedPages instead of MmMapLockedPagesSpecifyCache.
* This can cause the system to needlessly bugcheck whenever system
* resources are low. This driver needs to be fixed.
*
*
*******************************************************************************

Since I didn’t use MmMapLockedPages, I’m a little bit confused. I thought
the MmProbeAndLockPages was the way to go.

Any insight as to why this warning message comes up, and what I can do to
fix it would be appreciated.

TIA,

  • Jack

Use MmGetSystemAddressForMdlSafe instead of MmGetSystemAddressForMdl.

  • Nick Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Monday, June 23, 2003 5:09 PM
To: File Systems Developers
Subject: [ntfsd] Driver Verifier & MmProbeAndLockPages

Hi,

I’m using MmProbeAndLockPages to lock down a user buffer for
processing sometime later in an unknown context. When I run
driver verifier, I get the following warning message:

**************************************************************
*****************

*

*
* The Driver Verifier has detected the driver at address F80A9FAF
* is calling MmMapLockedPages instead of MmMapLockedPagesSpecifyCache.
* This can cause the system to needlessly bugcheck whenever system
* resources are low. This driver needs to be fixed.
*

*
**************************************************************
*****************

Since I didn’t use MmMapLockedPages, I’m a little bit
confused. I thought the MmProbeAndLockPages was the way to go.

Any insight as to why this warning message comes up, and what
I can do to fix it would be appreciated.

TIA,

  • Jack

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

Hi Nick,

Thanks very much … that did the trick!

  • Jack