The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: eterzzo on May 17, 2011, 08:28:53 PM

Title: PagePool - Changes into .data, delay my program
Post by: eterzzo on May 17, 2011, 08:28:53 PM
My program delay 23 seconds.  I move fields inside my .data (In order that my program get ordered)
but my program delay now 30 seconds, I revert operation and delay is again 23 seconds.
Why affected the run time a movement in .data. (pagepool?)
Thanks
Title: Re: PagePool - Changes into .data, delay my program
Post by: qWord on May 17, 2011, 09:22:45 PM
Are you talking about driver development?
Title: Re: PagePool - Changes into .data, delay my program
Post by: MichaelW on May 18, 2011, 02:46:03 AM
If the delay is when you are assembling, and you have defined a large array in the .data or .data? section, then you are seeing the effects of a well-know MASM bug. There is a trick for getting around this problem, but in general you should use memory allocated at run time for such arrays.