mem_dump_obj(9)
π mem_dump_obj(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for mem_dump_obj. It's giving βprint the receipts on this object,β and I'm obsessed. π«Ά
β¨ NAME β¨
mem_dump_obj β Print available provenance information. that's it, that's the name, periodt. π
π¦ SYNOPSIS π¦
void mem_dump_obj (void *object );
πΈ ARGUMENTS πΈ
objectβ object for which to find provenance information. literally the object we're getting the provenance tea on. π
π DESCRIPTION π
okay so this function uses pr_cont, so that the caller is expected to have printed out whatever preamble is appropriate. no cap β the preamble is the caller's job. π
The provenance information depends on the type of object and on how much debugging is enabled. For example, for a slab-cache object, the slab name is printed, and, if available, the return address and stack trace from the allocation and last free path of that object. iconic forensic behavior, honestly. π₯
π SEE ALSO π
Kernel file ./mm/util.c β and the whole SEE ALSO entourage:
kfree_const(9)__kmemdup_nul(9)kstrdup(9)kstrdup_const(9)kstrndup(9)kmemdup(9)kmemdup_array(9)kvmemdup(9)kmemdup_nul(9)memdup_user(9)vmemdup_user(9)strndup_user(9)memdup_user_nul(9)randomize_page(9)__account_locked_vm(9)account_locked_vm(9)__vmalloc_array(9)vmalloc_array(9)__vcalloc(9)vcalloc(9)folio_mapping(9)folio_copy(9)get_cmdline(9)compat_set_desc_from_vma(9)__compat_vma_mmap(9)compat_vma_mmap(9)snapshot_page(9)mmap_action_prepare(9)mmap_action_complete(9)folio_pte_batch(9)page_range_contiguous(9)
byeee bestie π
this page's source/version is ./mm, dated October 2026. mwah π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms