adheer chandravanshi wrote:
Can we use some reverse mapping kind of mechanism that is used when the pages are reclaimed?
You could, but that would increase the amount of metadata the kernel needs, reducing the amount of memory available for actually caching data. Why is an estimate based on file (index, offset) pairs not accurate enough for you? -- What is important? What you want to be true, or what is true? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/