The winverbs PD structure contains both an event and a guarded mutex. Both must
be allocated as part of resident memory, or vague system corruptions may occur
if their memory is paged out.
The fix is to allocate the PD structure from NonPagedPool.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2384
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
ib_api_status_t ib_status;\r
WV_PROTECTION_DOMAIN *pd;\r
\r
- pd = ExAllocatePoolWithTag(PagedPool, sizeof(WV_PROTECTION_DOMAIN), 'dpvw');\r
+ pd = ExAllocatePoolWithTag(NonPagedPool, sizeof(WV_PROTECTION_DOMAIN), 'dpvw');\r
if (pd == NULL) {\r
return STATUS_NO_MEMORY;\r
}\r