From: Roddy, Mark [Mark_Roddy@stratus.com] Sent: Monday, April 17, 2000 3:09 PM To: NT Developers Interest List Subject: [ntdev] RE: A query !! Yeah ok sure but suppose that you are a top level driver that routinely builds MDLS as you are a method neither sort of driver. Normally you are called via some user space activity so of course you use MmProbeAndLockPages. Then some other loser of a driver decides that it needs to use whatever service you provide. So now you have requests coming from kernel mode, and it is entirely possible that this other driver will allocate buffers from NPP to send to you for processing. > -----Original Message----- > From: Jamey Kirby [mailto:jkirby@storagecraft.com] > Sent: Monday, April 17, 2000 2:56 PM > To: NT Developers Interest List > Subject: [ntdev] RE: A query !! > > > Yes. > > I simply follow the DDK rules that say to use > MmBuildMdlForNonPagedPool(). > This way, I eliminate any possible problems. It would not > occur to me to NOT > do this. > > Isn't NT great :) > > Jamey > > > -----Original Message----- > > From: bounce-ntdev-562@lists.osr.com > > [mailto:bounce-ntdev-562@lists.osr.com]On Behalf Of Roddy, Mark > > Sent: Monday, April 17, 2000 11:42 AM > > To: NT Developers Interest List > > Subject: [ntdev] RE: A query !! > > > > > > > > However it is an interesting question if > MmProbeAndLockPages/MmUnlockPages > > cause a problem if the underlying buffer happens to be NPP. > One hopes not, > > but I've heard several people swear that it does. How would > a driver even > > know, other than through some a priori assumptions? > > > > > -----Original Message----- > > > From: Jamey Kirby [mailto:jkirby@storagecraft.com] > > > Sent: Monday, April 17, 2000 2:22 PM > > > To: NT Developers Interest List > > > Subject: [ntdev] RE: A query !! > > > > > > > > > I think you need to use MmBuildMdlForNonPagedPool() if you > > > use NPP in your > > > MDL. > > > > > > Jamey > > > > > > > -----Original Message----- > > > > From: Kiran Mandava [mailto:kiran.mandava@skystream.com] > > > > Sent: Monday, April 17, 2000 11:08 AM > > > > To: NT Developers Interest List > > > > Subject: [ntdev] A query !! > > > > > > > > > > > > The Microsoft Exchange Server received an Internet message > > > that could > > > > not be processed. To view the original message content, open the > > > > attached message. <> > > > > > > > > > > > > > --- > > > You are currently subscribed to ntdev as: mark_roddy@stratus.com > > > To unsubscribe send a blank email to > leave-ntdev-247T@lists.osr.com > > > > > > > --- > > You are currently subscribed to ntdev as: jkirby@storagecraft.com > > To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com > > > > > --- > You are currently subscribed to ntdev as: mark_roddy@stratus.com > To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com > --- You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com