Questions tagged [virtual-address-space]

virtual address space (VAS) or address space is the set of ranges of virtual addresses that an operating system makes available to a process

A virtual address does not represent the actual physical location of an object in memory; instead, the system maintains a page table for each process, which is an internal data structure used to translate virtual addresses into their corresponding physical addresses. Each time a thread references an address, the system translates the virtual address to a physical address.

A virtual address space (VAS) or address space is the set of ranges of virtual addresses that an operating system makes available to a process.[1] The range of virtual addresses usually starts at a low address and can extend to the highest address allowed by the computer's instruction set architecture. This provides several benefits, one of which is, if each process is given a separate address space, security through process isolation.

http://en.wikipedia.org/wiki/Virtual_address_space
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366912(v=vs.85).aspx

234 questions
-1
votes
1 answer

How to get user mode total virtual memory?

Asking for Win 7/Win 10 (BIOS/EFI). Ive been researching this and havent been able to find a way, heres the story: In a program I am using bcdedit /set IncreaseUserVa 3872 to set the user-mode virtual address space to 3872MB, then I restart. For a…
Alvaromon
  • 190
  • 2
  • 16
-1
votes
1 answer

Translating logical to physical addresses for a virtual address

I am currently working on a project to translate logical addresses to physical addresses. The question asks: This project consist of writing a program that translates logical to physical addresses for a virtual address space of 2^16 = 65,536…
Husso
  • 262
  • 6
  • 17
-1
votes
1 answer

Difference between virtual address and physical address?

Kindly explain the difference between the virtual and physical addresses based on the following example. Please explain which address is specifically used here and how to use the other address in the same place. Also, how can the two always be…
-2
votes
1 answer

How to print the total size of the address space for a C program?

How could I print the size of the entire address space in a C program ?
Kode1000
  • 111
  • 3
-2
votes
1 answer

mapping virtual address (logical address) to physical address

This question refers to an architecture using segmentation with paging. In this architecture, the 32-bit virtual address is divided into fields as follows:                        4 bit segment number | 12 bit page number | 16 bit offset Find the…
-2
votes
2 answers

How can we tell an instruction is from application code or library code on Linux x86_64

I wanted to know whether an instruction is from the application itself or from the library code. I observed some application code/data are located at about 0x000055xxxx while libraries and mmaped regions are by default located at 0x00007fcxxxx. Can…
-3
votes
1 answer

Shared memory between threads and processes

Could someone help me with these questions: What is the memory (code/data) sections shared by threads within the same process (not shared by different processes)? Can two processes share their virtual address space? Can two processes share global…
-4
votes
2 answers

Does C Code enjoy the Go GC's fragmentation prevention strategies?

Corrected the false implications: Golang's GC does virtual address space defragmentation fragmentation-prevention strategies, which enables a program to run for a very long time (if not ever). But it seems C code (cgo or SWIG) has no means of having…
Small Boy
  • 147
  • 1
  • 8
-4
votes
1 answer

Addres space in windows

If in hard disk there is no free space, what do system when i run application? Where's creating paging file?
1 2 3
15
16