Memory allocation at dispatch level

Is there any harm in allocating non paged memory at dispatch level
(ExallocatePool…) ?

Does it have any underlying delays that are will cause a crash ?

>Is there any harm in allocating non paged memory at dispatch level (ExallocatePool…) ?

What exactly function do you try to use?
You need to publish your source code which calls a function.

Igor Sharovar

No - the documentation documents that this is allowed.

Mark Roddy

On Mon, Nov 8, 2010 at 5:22 PM, wrote:
> Is there any harm in allocating non paged memory at dispatch level
> (ExallocatePool…) ?
>
> Does it have any underlying delays that are will cause a crash ?
>
>
>
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Let’s say I try to use ExAllocatePoolWithTag from the non pages pool.
Most likely not a big chunk of memory, can range from a few bytes to
1K-2K.

Shay

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Monday, November 08, 2010 5:43 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Memory allocation at dispatch level

Is there any harm in allocating non paged memory at dispatch level
(ExallocatePool…) ?

What exactly function do you try to use?
You need to publish your source code which calls a function.

Igor Sharovar


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

With non-paged pool you can allocate at DISPATCH_LEVEL, this has been
the case for all versions of the kernel.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@emc.com” wrote in message
news:xxxxx@ntdev:

> Let’s say I try to use ExAllocatePoolWithTag from the non pages pool.
> Most likely not a big chunk of memory, can range from a few bytes to
> 1K-2K.
>
> Shay
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@hotmail.com
> Sent: Monday, November 08, 2010 5:43 PM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] Memory allocation at dispatch level
>
> >Is there any harm in allocating non paged memory at dispatch level
> (ExallocatePool…) ?
>
> What exactly function do you try to use?
> You need to publish your source code which calls a function.
>
> Igor Sharovar
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer