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.