]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm: compaction: add trace events for memory compaction activity
authorMel Gorman <mel@csn.ul.ie>
Thu, 13 Jan 2011 23:45:54 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:33 +0000 (17:32 -0800)
commitb7aba6984dc048503b69c2a885098cdd430832bf
tree1f682189bd967feaf28c2978445c7ebe82116185
parent2d90508f638241a2e7422d884767398296ebe720
mm: compaction: add trace events for memory compaction activity

In preparation for a patches promoting the use of memory compaction over
lumpy reclaim, this patch adds trace points for memory compaction
activity.  Using them, we can monitor the scanning activity of the
migration and free page scanners as well as the number and success rates
of pages passed to page migration.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/compaction.h [new file with mode: 0644]
mm/compaction.c