Re: physical memory userspace/kernel split on Linux x86-64

2015-05-27 Thread Le Tan
Hi Min-Hua, 2015-05-27 22:23 GMT+08:00 Min-Hua Chen : > Hi, > > Linux kernel basically manages all available physical memory pages. > If user-space need a page, kernel allocates a page for it. Hence a > physical page may be in mapped to user-space virtual address or > kernel-space virtual address

Re: physical memory userspace/kernel split on Linux x86-64

2015-05-27 Thread Le Tan
Hi, 2015-05-27 21:54 GMT+08:00 Karaoui mohamed lamine : > 2015-05-27 3:12 GMT+02:00 Le Tan : >> >> 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? >

Re: physical memory userspace/kernel split on Linux x86-64

2015-05-27 Thread Min-Hua Chen
Hi, Linux kernel basically manages all available physical memory pages. If user-space need a page, kernel allocates a page for it. Hence a physical page may be in mapped to user-space virtual address or kernel-space virtual address or both. The user-space and kernel-space exist in virtual addres

Re: physical memory userspace/kernel split on Linux x86-64

2015-05-27 Thread Karaoui mohamed lamine
2015-05-27 3:12 GMT+02:00 Le Tan : > 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 an

physical memory userspace/kernel split on Linux x86-64

2015-05-26 Thread Le Tan
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? As far as I know, in virtual address space, the kernel will use the upper half and the userspace will use the l