mm/page_isolation.c: add new tracepoint, test_pages_isolated
authorJoonsoo Kim <js1304@gmail.com>
Thu, 14 Jan 2016 23:18:42 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit0f0848e5118a4cb2cb92cef0c3af6f647649ff47
tree0300cded0b507d813a3133cb80944c047997d1fe
parentfea85cff11de4377040deff0e85eb2793fb078aa
mm/page_isolation.c: add new tracepoint, test_pages_isolated

cma allocation should be guranteeded to succeed.  But sometimes it can
fail in the current implementation.  To track down the problem, we need
to know which page is problematic and this new tracepoint will report
it.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/page_isolation.h [new file with mode: 0644]
mm/page_isolation.c