Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.ms-windows.programmer.nt.kernel-mode > #50

Re: memory not swap out

From Tim Roberts <timr@probo.com>
Newsgroups comp.os.ms-windows.programmer.nt.kernel-mode
Subject Re: memory not swap out
Date 2013-11-29 13:01 -0800
Organization Providenza & Boekelheide, Inc.
Message-ID <930i99dkb0pqnobbb52290krj2me3tde3j@4ax.com> (permalink)
References <e6768913-483d-4911-845b-316313e05209@googlegroups.com>

Show all headers | View raw


Hu Xuelei <huxuelei630@gmail.com> wrote:
>
>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?

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, timr@probo.com
Providenza & Boekelheide, Inc.

Back to comp.os.ms-windows.programmer.nt.kernel-mode | Previous | NextPrevious in thread | Find similar


Thread

memory  not swap out Hu Xuelei <huxuelei630@gmail.com> - 2013-11-25 07:49 -0800
  Re: memory  not swap out Tim Roberts <timr@probo.com> - 2013-11-29 13:01 -0800

csiph-web