winverbs: ensure that event and mutex memory are resident
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 26 Aug 2009 16:47:11 +0000 (16:47 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 26 Aug 2009 16:47:11 +0000 (16:47 +0000)
commitec66cd957ac1e1322a7b61f4eaa8f15b79c1321a
tree30470d4010871da00ceb6ffc28a73c1ad9a4a79a
parent7b16cdcc31a2a7778011bdbb0469e29123814829
winverbs: ensure that event and mutex memory are resident

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
core/winverbs/kernel/wv_pd.c