Skip to contentSkip to conversation

output a list of loaded modules when we hit bad_page()

PATCH Dave Jones 1 participant 1 message Jul 22, 2011

Subsystems (2)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

When we get a bad_page bug report, it's useful to see what modules the user had loaded.

mm/page_alloc.c +1 -0
index 4e8985a..70d0853 100644
@@ -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 */

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. 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:"[email protected]"> [email protected] </a>