Thread (5 messages) 5 messages, 3 authors, 2015-05-28

physical memory userspace/kernel split on Linux x86-64

From: Karaoui mohamed lamine <hidden>
Date: 2015-05-27 13:54:49

2015-05-27 3:12 GMT+02:00 Le Tan [off-list ref]:
Hi,
Is there an explict split between userspace and kernel in physical
memory on Linux x86-64? That is, given a physical address, can I tell
whether this address is from userspace or not?
No. The same physical address can be  used by both the kernel and the
userspace.
The kernel and userspace share the same physical memory.
Any memory page can be allocated for the userspace then released (free)
then re-allocated for kernel use.

As far as I know, in virtual address space, the kernel will use the
upper half and the userspace will use the lower half. But what about
in physical address space?
Thanks very much!

Le

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150527/30b0cf26/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help