Message ID | 20201211012003.16473-4-paulmck@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3,sl-b,1/6] mm: Add mem_dump_obj() to print source of memory block | expand |
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 7421719..77b1100 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3439,7 +3439,8 @@ bool vmalloc_dump_obj(void *object) vm = find_vm_area(objp); if (!vm) return false; - pr_cont(" vmalloc allocated at %pS\n", vm->caller); + pr_cont(" %u-page vmalloc region starting at %#lx allocated at %pS\n", + vm->nr_pages, (unsigned long)vm->addr, vm->caller); return true; }