diff options
| author | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
| commit | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (patch) | |
| tree | d57f3a63479a07b4e0cece029886e76e04feb984 /mm/debug.c | |
| parent | 5dc63e56a9cf8df0b59c234a505a1653f1bdf885 (diff) | |
| parent | 53bea86b5712c7491bb3dae12e271666df0a308c (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.4 merge window.
Diffstat (limited to 'mm/debug.c')
| -rw-r--r-- | mm/debug.c | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/mm/debug.c b/mm/debug.c index 7f8e5f744e42..96d594e16292 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -94,11 +94,11 @@ static void __dump_page(struct page *page)  			page, page_ref_count(head), mapcount, mapping,  			page_to_pgoff(page), page_to_pfn(page));  	if (compound) { -		pr_warn("head:%p order:%u compound_mapcount:%d subpages_mapcount:%d compound_pincount:%d\n", +		pr_warn("head:%p order:%u entire_mapcount:%d nr_pages_mapped:%d pincount:%d\n",  				head, compound_order(head), -				head_compound_mapcount(head), -				head_subpages_mapcount(head), -				head_compound_pincount(head)); +				folio_entire_mapcount(folio), +				folio_nr_pages_mapped(folio), +				atomic_read(&folio->_pincount));  	}  #ifdef CONFIG_MEMCG @@ -215,6 +215,7 @@ void dump_mm(const struct mm_struct *mm)  		mm->def_flags, &mm->def_flags  	);  } +EXPORT_SYMBOL(dump_mm);  static bool page_init_poisoning __read_mostly = true;  |