Puneet Gupta
Puneet Gupta

Reputation: 19

What is the difference between kernel logicla address space , kernel virtual address space and user virtual address space

Let me put my understanding.

Let me know if my above understanding is correct? If not can you please explain in detail the difference between kernel logical address space , kernel virtual address space and user virtual address space.

Upvotes: 1

Views: 377

Answers (1)

OSEMA TOUATI
OSEMA TOUATI

Reputation: 349

your understanding is a mixture of right and wrong, I'll try to point to some of them:

  1. in 32 bit machines, we're not always limited by 4GB addressable RAM, check this question for more detail: link
  2. the memory is an abstraction for the user space programs, they see it a a continuous big chunk of memory, but the kernel manages this abstraction with some hardware support named MMU, to map the used virtual space in the user space program into an actual physical address or even some bloc in hard drive if swapping is activated.
  3. the kernel can actually access to the physical memory, in order to manage the abstraction mentioned above, it can also use this abstraction, this depends on the designer of the kernel.

  4. as for the difference between the virtual and logical addressing, check this answer: link

Upvotes: 0

Related Questions