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 tamlokv...@gmail.com: 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

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

Will make modules_install replace old kernel modules?

2015-05-27 Thread Gao Peng
I built kernel in this sequence make make modules sudo make modules_install sudo make install I am not sure if I boot from the old kernel,will the old kernel load the new-installed modules or keep it's own modules? ___ Kernelnewbies mailing list

Re: Will make modules_install replace old kernel modules?

2015-05-27 Thread Valdis . Kletnieks
On Thu, 28 May 2015 11:26:02 +0800, Gao Peng said: I am not sure if I boot from the old kernel,will the old kernel load the new-installed modules or keep it's own modules. If you did it properly, then you should have 2 kernels, each with a distinct value for uname -r, and 2 directories under

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 mohar...@gmail.com: 2015-05-27 3:12 GMT+02:00 Le Tan tamlokv...@gmail.com: 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

Re: Will make modules_install replace old kernel modules?

2015-05-27 Thread Gao Peng
Got it! thx! On Thu, May 28, 2015 at 11:43 AM, valdis.kletni...@vt.edu wrote: On Thu, 28 May 2015 11:26:02 +0800, Gao Peng said: I am not sure if I boot from the old kernel,will the old kernel load the new-installed modules or keep it's own modules. If you did it properly, then you