Is the virtual address specific?

I studied memory management topics. I am wondering if I understood this correctly:

  • The pointer (virtual) address is process specific
  • different processes may have pointers with the same addresses, but these pointers translate to different physical addresses.

Am I right about these statements? If so, are they for x86, x86-64, and ARMv7, ARMv8 architectures?

+5
source share
1 answer

Good, except:

different processes may have pointers with the same addresses, but these pointers translate to different physical addresses.

while this is a general case, of course, different processes can share mapped pages (look at shared memory), and then pointers can point to the same data, given that the pages are mapped to the same places in the virtual address space.

But yes, that is the correct understanding.

+8
source

Source: https://habr.com/ru/post/1234670/


All Articles