]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2e0a38eb4963b6717c0aad221ae3f9c250640f0
tree84b0daa5ee68e08134f6309a45f7106c463decbd
parent82e9ff53f96dfb0a6ceea9a202784399a48095ab
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