Sorry for my obscure description.
  My means is when we return from pagefault trap, whether we may use prefetch 
instruction to load the addr into cache in advance, because we know it has been 
in physcal memory and the user programe will re-access the addr.
  It maybe benificial when the system dosn't touch the memory before user 
programe re-access the addr. 
  
Thanks,
  Ma Ling
  

Wee Yeh Tan <[EMAIL PROTECTED]> wrote:
  On 9/18/07, love_code meta wrote:
> After mapping virtual memory, then access data in memory, we know that
> will generate page fault trap if no physical memory page available.
> Is it beneficial that before resuming user program we pre-fetch the addr
> which caused page fault?

I doubt so. Think about all extra the pages you will have to bring in
when mapping to say libc.so.


-- 
Just me,
Wire ...
Blog: 



       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to