]> 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)
commitd093c8498421511b803732ac38eca4a4f2a3e15c
tree84b0daa5ee68e08134f6309a45f7106c463decbd
parent69b45e23623eae98738df7bbf463b77f3125100b
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