kmemleak_free_part(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:

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