ExAlllocatePoolWithTag doesn't tag allocations > PAGE_SIZE?"

Win2K SP1, I allocated a block of NonPagedPool about 3.5 pages in size.
Then I do a !poolfind on my tag, and the tag isn’t there. I stepped into
ExAllocatePoolWithTag, and it checks the size of the allocation against
0xFD8, which is 40 bytes less that PAGE_SIZE. The branch taken if the size
is larger than that value doesn’t tag it, if it’s smaller, the tag is there.
So this behavior appears to be “by design”. Anyone have a good reason why?

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | Not speaking for Intel
*


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com