Use ExAllocatePoolWithTag this API can allocate 8MB memory ?
I will allocate 8MB memory , what’s DDK API can do this ???
Use ExAllocatePoolWithTag this API can allocate 8MB memory ?
I will allocate 8MB memory , what’s DDK API can do this ???
Any memory allocation API can do this.
If the pool is badly fragmented a request for large contiguous block of
virtual memory might fail.
–
Slava Imameyev, xxxxx@hotmail.com
<pliceman_110> wrote in message news:xxxxx@ntfsd…
> Use ExAllocatePoolWithTag this API can allocate 8MB memory ?
>
> I will allocate 8MB memory , what’s DDK API can do this ???
></pliceman_110>
Yes, assuming you want virtually contiguous pages; ExAllocatePool* do not
guarantee that their backing physical pages will be physically contiguous,
however.
It is good practice to perform such large, contiguous allocations up-front
during driver initialization, before the address space becomes significantly
fragmented.
–
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
<pliceman_110> wrote in message news:xxxxx@ntfsd…
> Use ExAllocatePoolWithTag this API can allocate 8MB memory ?
>
> I will allocate 8MB memory , what’s DDK API can do this ???
></pliceman_110>