summaryrefslogtreecommitdiffstats
path: root/include/linux/log2.h
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2013-04-29 15:06:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 15:54:28 -0700
commitfe0bfaaff84429a35e4447d4ccd646aecf5999fb (patch)
treeed27f6c218ab9256d5bf30f6a4a28285c8f2c992 /include/linux/log2.h
parente39862958d54e4cccec01f5cdef3ae298e7386b8 (diff)
downloadop-kernel-dev-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.zip
op-kernel-dev-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.tar.gz
mm: trace filemap add and del
Use the events API to trace filemap loading and unloading of file pieces into the page cache. This patch aims at tracing the eviction reload cycle of executable and shared libraries pages in a memory constrained environment. The typical usage is to spot a specific device and inode (for example /lib/libc.so) to see the eviction cycles, and find out if frequently used code is rather spread across many pages (bad) or coallesced (good). Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Cc: Dave Chinner <david@fromorbit.com> Cc: Hugh Dickins <hughd@google.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/log2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud