kmemleak_free_part(9)
okay so bestie, welcome to the kmemleak_free_part(9) page from the Kernel API Manual β yes, the manual name is folded in right here, periodt β¨. this one is short, but every detail is main character energy, so letβs not skip a single crumb π
.
β¨ NAME β¨
kmemleak_free_part β partially unregister a previously registered object. literally thatβs the name, no cap π
π SYNOPSIS π
the signature, character for character:
void __ref kmemleak_free_part (const void *ptr , size_t size );
πΈ ARGUMENTS πΈ
ptrβ pointer to the beginning or inside the object. This also represents the start of the range to be freed. so yes, it can point at the start or somewhere inside, and itβs also the beginning of the range youβre freeing π«Άsizeβ size to be unregistered. the size to unregister, simple as that π
π DESCRIPTION π
this function gets called when only a part of a memory block is freed (usually from the bootmem allocator). not the whole block, bestie β just a part. thatβs the vibe check here, and itβs honestly iconic ππ
π¦ SEE ALSO π¦
Kernel file ./mm/kmemleak.c β thatβs the spot, iykyk π. also linked up in SEE ALSO:
kmemleak_alloc(9)kmemleak_alloc_percpu(9)kmemleak_vmalloc(9)kmemleak_free(9)kmemleak_free_percpu(9)kmemleak_update_trace(9)kmemleak_not_leak(9)kmemleak_transient_leak(9)kmemleak_ignore_percpu(9)kmemleak_ignore(9)kmemleak_scan_area(9)kmemleak_no_scan(9)kmemleak_alloc_phys(9)kmemleak_free_part_phys(9)kmemleak_ignore_phys(9)
okay thatβs the page, bestie β short and slay π
. the source/version bit is ./mm, the date is October 2026, and this whole page is kmemleak_free_part(9). mwah, go free that part responsibly π«Άβ¨
π¦ 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