]> Git Repo - linux.git/commit
vmscan: tracing: add trace events for kswapd wakeup, sleeping and direct reclaim
authorMel Gorman <[email protected]>
Tue, 10 Aug 2010 00:19:16 +0000 (17:19 -0700)
committerLinus Torvalds <[email protected]>
Tue, 10 Aug 2010 03:44:59 +0000 (20:44 -0700)
commit33906bc5c87b50028364405ec425de9638afc719
treed5d6f431bd517a4a914972f3ce968dc99de73694
parentc6a8a8c589b53f90854a07db3b5806ce111e826b
vmscan: tracing: add trace events for kswapd wakeup, sleeping and direct reclaim

Add two trace events for kswapd waking up and going asleep for the
purposes of tracking kswapd activity and two trace events for direct
reclaim beginning and ending.  The information can be used to work out how
much time a process or the system is spending on the reclamation of pages
and in the case of direct reclaim, how many pages were reclaimed for that
process.  High frequency triggering of these events could point to memory
pressure problems.

Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Acked-by: Larry Woodman <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Michael Rubin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/trace/events/gfpflags.h [new file with mode: 0644]
include/trace/events/kmem.h
include/trace/events/vmscan.h [new file with mode: 0644]
mm/vmscan.c
This page took 0.052934 seconds and 4 git commands to generate.