PTE entries

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 24 11:05:00 EST 2007


On Thu, 2007-04-19 at 21:34 -0700, Siva Prasad wrote:
> Hi,
> 
>  
> 
> Where exactly the PTE are setup for any given new user program?
> 
>  
> 
> In other words, if you are trying to execute a user level program,
> kernel needs to load it and setup PTEs for that program. Where does
> kernel do it?

They are faulted in.

See do_page_fault

Ben.






More information about the Linuxppc-dev mailing list