sg_free_append_table(9)
π sg_free_append_table(9) β a Kernel API Manual moment
okay so bestie, we're in the kernel API manual (9 = kernel API section, iykyk) and today's main character is sg_free_append_table. it's a tiny little function and honestly it's giving "cleanup era" β¨
πΈ NAME πΈ
sg_free_append_table β literally frees an append sg table that was already allocated earlier. that's it, that's the whole job π
β¨ SYNOPSIS β¨
void sg_free_append_table (struct sg_append_table *table );
no return value, no drama, she just returns void and minds her business π
π«Ά ARGUMENTS π«Ά
tableβ the sg append table header that got mapped earlier. this is the one you're handing over to be freed π¦
π₯ SEE ALSO π₯
the whole squad, fr fr. and just so we're clear, the kernel file we're living in is ./lib/scatterlist.c β that's the address, bestie π
sg_nents(9)sg_nents_for_len(9)sg_nents_for_dma(9)sg_last(9)sg_init_table(9)sg_init_one(9)__sg_free_table(9)sg_free_table(9)__sg_alloc_table(9)sg_alloc_table(9)sg_alloc_append_table_from_pages(9)sg_alloc_table_from_pages_segment(9)sgl_alloc_order(9)sgl_alloc(9)sgl_free_n_order(9)sgl_free_order(9)sgl_free(9)sg_miter_start(9)sg_miter_skip(9)sg_miter_next(9)sg_miter_stop(9)sg_copy_buffer(9)sg_copy_from_buffer(9)sg_copy_to_buffer(9)sg_pcopy_from_buffer(9)sg_pcopy_to_buffer(9)sg_zero_buffer(9)extract_iter_to_sg(9)
ngl bestie, if you allocated it, you free it. that's the vibe check and it is non-negotiable π
and that's the page!! sign-off time: this one lives over in ./lib, dated October 2026, and it's the sg_free_append_table(9) entry β periodt ππ
π¦ 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