The patch titled mm debug: dump pageframes on bad_page() has been removed from the -mm tree. Its filename was mm-debug-dump-pageframes-on-bad_page.patch This patch was dropped because it gets rejects and I don't recall ever learning anything from it... The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm debug: dump pageframes on bad_page() From: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff -puN mm/page_alloc.c~mm-debug-dump-pageframes-on-bad_page mm/page_alloc.c --- a/mm/page_alloc.c~mm-debug-dump-pageframes-on-bad_page +++ a/mm/page_alloc.c @@ -231,6 +231,21 @@ static void bad_page(struct page *page) printk(KERN_EMERG "Trying to fix it up, but a reboot is needed\n" KERN_EMERG "Backtrace:\n"); dump_stack(); + { + int i; + unsigned char *ptr = (unsigned char *)page; + ptr -= 64; + + printk(KERN_EMERG "Hexdump:"); + for (i=0;i<192;i++) { + if ((i%16) == 0) { + printk("\n"); + printk(KERN_EMERG "%03x:", i); + } + printk(" %02x", ptr[i]); + } + printk("\n"); + } page->flags &= ~PAGE_FLAGS_CLEAR_WHEN_BAD; set_page_count(page, 0); reset_page_mapcount(page); _ Patches currently in -mm which might be from manfred@xxxxxxxxxxxxxxxx are repeatable-slab-corruption-with-ltp-msgctl08.patch mm-debug-dump-pageframes-on-bad_page.patch slab-leaks3-default-y.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html