From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: PTE entries From: Benjamin Herrenschmidt To: Siva Prasad In-Reply-To: References: Content-Type: text/plain Date: Tue, 24 Apr 2007 11:05:00 +1000 Message-Id: <1177376700.14873.40.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.