Re: Code that does page outs

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

 



look at rw_swap_page() in mm/page_io.c. This is the
low-level function which initiates swap in or out. If you
find all calls to this function, you should have it.

anthony

--- Eugene Teo <eugene.teo@eugeneteo.net> wrote:
> I am looking for possible areas in the kernel code where
> page outs occurs. I have looked at shrink_cache(), and 
> swap_out_pmd() which calls try_to_swap_out(). 
> 
> Are there other areas that i missed out? 
> 
> I am looking at the areas where page outs will occur so
> that
> I can keep track of 
> 
> 1) number of page outs occurred at an arbitrary time.
> 2) what causes the page outs.
> 
> Anticipating a reply...
> 
> Eugene
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux