Re: Anyone know how to access the Link between Page File & Physical Memory?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 02/03/04


Date: Tue, 3 Feb 2004 18:52:23 +0300


    You cannot do this without a driver.

-- 
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Antranik" <ardziv13REMOVE_CAPS@freenet.no_spam.am> wrote in message
news:E8CC72FD-CDDB-4C0A-9FBB-416E6CDEB9BD@microsoft.com...
> I went through debuging a call to malloc() to try to find out where the link
between virtual memory and physical memory is stored, but ended up with calls
to HeapAlloc() that are stepped over by the debugger.
>
> What I need to do is, given a buffer such as
> int myBuffer  = (int*)malloc(whateverSize * sizeof(int));
>
> I want to lock the pages in physical memory and then map those pages to
another virtual address.
>
> Does anyone know how to do this?
> Thanks in advance.
>
> Antranik


Relevant Pages

  • Anyone know how to access the Link between Page File & Physical Memory?
    ... I went through debuging a call to malloc() to try to find out where the link between virtual memory and physical memory is stored, but ended up with calls to HeapAllocthat are stepped over by the debugger. ...
    (microsoft.public.development.device.drivers)
  • Re: how to get physical memory address from virtual memory address
    ... I am using Linux 2.4.20 Kernel. ... malloc and returns a virtual memory address. ... memory address for that virtual memory address. ... You haven't allocated any physical memory, ...
    (comp.os.linux.development.system)
  • Re: Can extra processing threads help in this case?
    ... No extra programming required beyond what he already obtained from public open source where he was lucky enough to be able to get to compile without much issue. ... allocate contiguous physical memory should have been the first clue that he had no idea ... And his persistence in equating virtual memory (which, ... I know I did and also indicated AWE to you and guess what so did Joe. ...
    (microsoft.public.vc.mfc)
  • Re: Virtual Memory Advice for Vista 64 & 8GB of Ram
    ... "Dustin Harper" wrote: ... Virtual Memory which seems excessive, I can't help but wonder if it ... be better for me to set the VM myself instead of letting Windows handle ... Installed Physical Memory 8.00 GB ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Zones in Linux
    ... The issue is how much of the memory is visible in kernel *virtual memory* ... There is a total visibility of 4GB of virtual memory. ... physical memory are mapped 1-to-1 into kernel virtual memory space. ...
    (comp.os.linux.development.system)