From: Dave Jones Date: Wed, 24 Aug 2011 23:46:51 +0000 (+1000) Subject: When we get a bad_page bug report, it's useful to see what modules the X-Git-Tag: next-20110905~1^2~86 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a2ebdf710070c9c06537e518cd093a1f6a99aed2;p=karo-tx-linux.git When we get a bad_page bug report, it's useful to see what modules the user had loaded. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6e8ecb6e021c..83a02052bce4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -318,6 +318,7 @@ static void bad_page(struct page *page) current->comm, page_to_pfn(page)); dump_page(page); + print_modules(); dump_stack(); out: /* Leave bad fields for debug, except PageBuddy could make trouble */