mm/compaction: print current range where compaction work
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Wed, 11 Feb 2015 23:27:04 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2015 01:06:04 +0000 (17:06 -0800)
commite34d85f0e3c60f7226e5589898b7c7c5cd2a4f02
tree84b0daa5ee68e08134f6309a45f7106c463decbd
parent16c4a097a035c01809aa0c0abd458ca1fe4ff3d0
mm/compaction: print current range where compaction work

It'd be useful to know current range where compaction work for detailed
analysis.  With it, we can know pageblock where we actually scan and
isolate, and, how much pages we try in that pageblock and can guess why it
doesn't become freepage with pageblock order roughly.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/compaction.h
mm/compaction.c