Re: What does drop_caches do?

2011-08-24 Thread Greg Freemyer
On Thu, Jul 28, 2011 at 2:58 AM, Prateek Sharma prate...@cse.iitb.ac.in wrote: Hello everyone,        I've been trying to understand the role of the pagecache, starting with drop_caches and observing what it does.        From my understanding of the code (fs/drop_caches.c) , it walks over

Re: What does drop_caches do?

2011-08-23 Thread Mulyadi Santosa
Hi :) On Thu, Jul 28, 2011 at 13:58, Prateek Sharma prate...@cse.iitb.ac.in wrote:        From my understanding of the code (fs/drop_caches.c) , it walks over all the open files/inodes, and invalidates all the mapped pages. I doubt that would be open files/inodes..more likely list of