mm/page_isolation: fix tracepoint to mirror check function behavior
authorLucas Stach <l.stach@pengutronix.de>
Fri, 1 Apr 2016 21:31:32 +0000 (14:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Apr 2016 22:03:37 +0000 (17:03 -0500)
commitbbe3de2560280c0420d36a192e69f2772e893cf4
treecf6d1c5028d2386bc49a1dbccdb117be484c8d73
parent858eaaa711700ce4595e039441e239e56d7b9514
mm/page_isolation: fix tracepoint to mirror check function behavior

Page isolation has not failed if the fin pfn extends beyond the end pfn
and test_pages_isolated checks this correctly.  Fix the tracepoint to
report the same result as the actual check function.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/page_isolation.h