This is a aditional patch for: memcg-add-memcg-sanity-checks-at-allocating-and-freeing-pages.patch and can be applied after: memcg-add-memcg-sanity-checks-at-allocating-and-freeing-pages-update.patch === From: Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> - print pc->flags in hex. - print the path of the cgroup in the same line as pc->mem_cgroup. Signed-off-by: Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 686f1ce..7e5cc5c 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -3040,7 +3040,7 @@ void mem_cgroup_print_bad_page(struct page *page) int ret = -1; char *path; - printk(KERN_ALERT "pc:%p pc->flags:%ld pc->mem_cgroup:%p", + printk(KERN_ALERT "pc:%p pc->flags:%lx pc->mem_cgroup:%p", pc, pc->flags, pc->mem_cgroup); path = kmalloc(PATH_MAX, GFP_KERNEL); @@ -3051,7 +3051,7 @@ void mem_cgroup_print_bad_page(struct page *page) rcu_read_unlock(); } - printk(KERN_ALERT "(%s)\n", + printk(KERN_CONT "(%s)\n", (ret < 0) ? "cannot get the path" : path); kfree(path); } -- 1.7.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>