summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2013-04-29 22:06:10 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 22:54:28 (GMT)
commitfe0bfaaff84429a35e4447d4ccd646aecf5999fb (patch)
treeed27f6c218ab9256d5bf30f6a4a28285c8f2c992 /arch
parente39862958d54e4cccec01f5cdef3ae298e7386b8 (diff)
downloadlinux-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.tar.xz
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 'arch')
0 files changed, 0 insertions, 0 deletions