diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2013-04-30 00:06:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 00:54:28 +0200 |
commit | fe0bfaaff84429a35e4447d4ccd646aecf5999fb (patch) | |
tree | ed27f6c218ab9256d5bf30f6a4a28285c8f2c992 /lib/crc-itu-t.c | |
parent | HWPOISON: check dirty flag to match against clean page (diff) | |
download | linux-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.tar.xz linux-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.zip |
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 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions