commit | 4f115147ff802267d0aa41e361c5aa5bd933d896 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <davidlohr@hp.com> | Wed Jun 04 16:06:46 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jun 04 16:53:57 2014 -0700 |
tree | 27afdf3f60c21fde601df63d9e9998b0c758a3fe | |
parent | 6f04f48dc9c0433e2bb687f5f7f7af1aba97b04d [diff] |
mm,vmacache: add debug data Introduce a CONFIG_DEBUG_VM_VMACACHE option to enable counting the cache hit rate -- exported in /proc/vmstat. Any updates to the caching scheme needs this kind of data, thus it can save some work re-implementing the counting all the time. Signed-off-by: Davidlohr Bueso <davidlohr@hp.com> Cc: Aswin Chandramouleeswaran <aswin@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>