diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2013-04-29 15:06:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 15:54:28 -0700 |
commit | fe0bfaaff84429a35e4447d4ccd646aecf5999fb (patch) | |
tree | ed27f6c218ab9256d5bf30f6a4a28285c8f2c992 /arch/arm/mm/init.c | |
parent | e39862958d54e4cccec01f5cdef3ae298e7386b8 (diff) | |
download | linux-stable-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.tar.gz linux-stable-fe0bfaaff84429a35e4447d4ccd646aecf5999fb.tar.bz2 linux-stable-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 'arch/arm/mm/init.c')
0 files changed, 0 insertions, 0 deletions