[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What're major faults and minor faults?



> > but the line:
> > 1131         page = read_swap_cache_async(entry);
> >
> > may result in a cache hit, right?
> 
> But is this line called in case of a cache hit ?
> 

Hi Rik:

Now I see, cache hits are out side the if(!page):

1128         page = lookup_swap_cache(entry);

thank you for your help.
jean

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/