panthor_heap_pool_destroy(9)
π₯ panthor_heap_pool_destroy(9) β the Kernel API Manual glow-up π₯
okay bestie, buckle up, because this is the panthor_heap_pool_destroy(9) page from the Kernel API Manual and it's literally about yeeting a heap pool into the void π«Ά
β¨ NAME β¨
panthor_heap_pool_destroy β Destroy a heap pool. that's it, that's the whole vibe π
π SYNOPSIS π
void panthor_heap_pool_destroy (struct panthor_heap_pool *pool );
πΈ ARGUMENTS πΈ
poolβ the pool to destroy. the main character of this whole operation, no cap π
π¦ DESCRIPTION π¦
So here's the tea, bestie: this function destroys all heap contexts and their resources. like, all of them. and because of that, it prevents any use of the heap context or the chunk attached to them after that point β so once this runs, those things are done, periodt π«β¨
ngl, if the GPU still has access to some heap contexts at this point, a fault should be triggered β and that fault should flag the command stream groups using these contexts as faulty. so if someone's still holding on, the system finds out and calls them out fr fr π
And here's the part you gotta remember: the heap pool object is only released when all references to this pool are released. it's giving "I'll leave when I'm ready" energy β not a moment before all the refs are gone π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/panthor/panthor_heap.c struct panthor_heap_chunk_header(9)struct panthor_heap_chunk(9)struct panthor_heap(9)struct panthor_heap_pool(9)panthor_heap_destroy(9)panthor_heap_create(9)panthor_heap_return_chunk(9)panthor_heap_grow(9)panthor_heap_pool_put(9)panthor_heap_pool_get(9)panthor_heap_pool_create(9)panthor_heap_pool_size(9)
and that's the page, bestie!! π this icon lives in ./drivers/gpu/drm/panthor, it's the October 2026 edition, and it's part of the Kernel API Manual β go forth and destroy those pools responsibly, 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