SRB extension Memory

Hi,

When i run IO meter and issue IO using one thread with outstanding command as 1, every time when a request comes to builIo, i see the same address in Psrb and SrbExtension.

1.Why these are same for all requests?
2. If i use memory from SrbExtension to build command(IO) in my driver, will there be any corruption issues?

Amogha

  1. Because the same IRP is being re-used for the SRB.
  2. Your SRB extension is non-paged pool allocated for your own uses.

Mark Roddy

On Fri, Apr 1, 2011 at 3:04 AM, wrote:
> Hi,
>
> When i run IO meter and issue IO using one thread with outstanding command as 1, every time when a request comes to builIo, i see the same address in Psrb and SrbExtension.
>
> 1.Why these are same for all requests?
> 2. If i use memory from SrbExtension to build command(IO) in my driver, will there be any corruption issues?
>
> Amogha
>
>
>
> —
> 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
>