Detecting a variable is currently in RAM or in OS swap?



Dear all,

Is it possible to check, without modifying the kernel, that the memory
occupied by a variable (or an address) is currently residing in RAM or
inside the OS swap partition without actually accessing it (and cause a
major fault)? Many thanks!

Best Regards,
LaBird (Benny).
[Email: Please remove all underscores for the real email address.]


.



Relevant Pages

  • Re: Detecting a variable is currently in RAM or in OS swap?
    ... Is it possible to check, without modifying the kernel, that the memory ... occupied by a variable is currently residing in RAM or ...
    (comp.os.linux.development.system)
  • Re: Detecting a variable is currently in RAM or in OS swap?
    ... LaBird. ... Please remove all underscores for the real email address.] ... Would you be happy to lock the page into RAM using mlockwhich is what ... applications do when they want to avoid paging something. ...
    (comp.os.linux.development.system)
  • Re: G4 Powerbook SODIMM in a G3 iBook?
    ... >>> so please feel free to pile in and stop me if necessary. ... On full size ram SD ram has two slots, DDR one, laptop sodimms of either ... Jon B ... real email to usenet at jonbradbury dot com ...
    (uk.comp.sys.mac)
  • Re: Convert UTF-8 -> ANSI not via UTF-16?
    ... time is more expensive than memory these days. ... The only reason to go from code page to code page without Unicode is a code ... Mihai Nita [Microsoft MVP, Windows - SDK] ... Replace _year_ with _ to get the real email ...
    (microsoft.public.vc.mfc)
  • Re: Removing programs from startup
    ... my RAM is all but used up with programs which are in ... > the startup menu. ... Never give your real email address on newsgroups... ...
    (microsoft.public.windowsxp.basics)