Re: process page tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10/16/07, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi...
> I am new to Linux MM. Can someone answer my following questions?
>
I'll try...
> 1> Where is the process page table(mm->pgd) stored? Is it stored below
> PAGE_OFFSET ?
Above PAGE_OFFSET, in other word... it's inside kernel space, just like
the task_struct descriptor.
>  If yes, then wouldn't there
> be a chance of the page tables getting accidentally corrupted by the user
> process as it is in the user address space?
>
> 2> What will happen if the page containing the process page table(mm->pgd)
> is swapped on the disk and the process is scheduled for execution ?
>
Since it's in kernel space, it won't be swapped out.

Why wouldn't things in kernel space be swapped out? Dosen't make sense...

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




--
Paul Francisco = pAnk7.yArdbird
http://pank7yardbird.googlepages.com
http://hi.baidu.com/pank7
.' ' ` .           pAnk7.yArdbird    ^_^
: :'   :          pank7yardbird(AT)gmail.com
`. ` '            liyi(AT)net.pku.edu.cn
  `-   Debian GNU/Linux -- The power of reedom

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux