PTE entries

Siva Prasad sprasad at bivio.net
Wed Apr 25 13:34:13 EST 2007


Thanks Ben.

I managed to fix this. I am working on how best we can rewrite the self
modifying code we have for create_hpte routine. I would prefer to read
from SDR1, than to hardcode (or self modify the code) the way it is done
now.

Feel free to let me know what you think.

Thanks
Siva


-----Original Message-----
From: Benjamin Herrenschmidt [mailto:benh at kernel.crashing.org] 
Sent: Monday, April 23, 2007 6:05 PM
To: Siva Prasad
Cc: linuxppc-dev at ozlabs.org; linuxppc-embedded at ozlabs.org
Subject: Re: PTE entries

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-embedded mailing list