Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I have some basic clarifications regarding virtual address. Can somebody explain in terms of theory as well as program part? 1) I want to find out the range ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    49

    Virtual Address

    Hi All,

    I have some basic clarifications regarding virtual address. Can somebody explain in terms of theory as well as program part?

    1) I want to find out the range of virtual address support my machine? Means limit for virtual address.

    2) I want to find out how much virtual address (Virtual memory) is used in my system?

    3) I want to know how virtual address space is left in my current execution process or how much space is left for my process?

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    well that depends do you have a 32-bit machine or 64-bit machine....

    if you have a 32-bit the virtual address available is 2^32 and if you have a 64-bit machine its 2^43(I'd check this one but I'm pretty sure its 2^43).

    to get the splits for a user processes(that is kernel/user) i would check your ptable.h values...

    plus here's a good link to start you on your way...

    Explore the Linux memory model

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...