output a list of loaded modules when we hit bad_page()
Subsystems (2)
When we get a bad_page bug report, it's useful to see what modules the user had loaded.
Signed-off-by Dave Jones <[email protected]>
mm/page_alloc.c +1 -0
@@ -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>