I am using this in the IOCTL handler of my driver to map a user address to
system space.
Irp->MdlAddress
Questions:
- The documentation here:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff554559(v=vs.85).aspx
or atleast my interpretation of it, doesnt seem to clarify whether I need
to free the mapped pages once I am done. So does the driver need to free
the system address mapped? My solution needs to be compatible with XP and
above, yes, we do still need XP support.
- The documentation doesnt specify any side effects of
using HighPagePriority other than the fact that it can also fail. I am
okay if it fails, but I am concerned, if there are possibilities that the
system might deadlock under high stress scenarios instead of failing?
Again, i am seeking answers for all OSs from XP till date.
thanks
Al