We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f26e0b commit 9996f05Copy full SHA for 9996f05
mm/debug.c
@@ -42,6 +42,11 @@ const struct trace_print_flags vmaflag_names[] = {
42
43
void __dump_page(struct page *page, const char *reason)
44
{
45
+ /*
46
+ * Avoid VM_BUG_ON() in page_mapcount().
47
+ * page->_mapcount space in struct page is used by sl[aou]b pages to
48
+ * encode own info.
49
+ */
50
int mapcount = PageSlab(page) ? 0 : page_mapcount(page);
51
52
pr_emerg("page:%p count:%d mapcount:%d mapping:%p index:%#lx",
0 commit comments