Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

memory not swap out

7 views
Skip to first unread message

Hu Xuelei

unread,
Nov 25, 2013, 10:49:13 AM11/25/13
to
Hi.
I use MmAllocateContiguousMemory to allocate 4096 bytes memory,but I do not want these memory to be swaped out by windows, is there any way to do this?

Tim Roberts

unread,
Nov 29, 2013, 4:01:48 PM11/29/13
to
Did you even try reading the documentation? Quoting:

MmAllocateContiguousMemory allocates a block of nonpaged memory
that is contiguous in physical address space.

It is non-paged memory.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
0 new messages