msc_win_oldest_sg(9)
β¨ msc_win_oldest_sg(9) β¨
okay so bestie, welcome to the msc_win_oldest_sg(9) page from the Kernel API Manual π this is the little kernel helper that hunts down the oldest block chillin' in a given window. grandma block energy π΅β¨ let's get into it.
πΈ NAME πΈ
msc_win_oldest_sg β locate the oldest block in a given window π΅οΈββοΈ
π¦ SYNOPSIS π¦
struct scatterlist * msc_win_oldest_sg (struct msc_window *win );
π ARGUMENTS π
winβ the window we're snooping on, bestie π that's the window to look at.
π RETURN π
the index of the block with the oldest data π like, which one's been sitting there the longest? that's the one. periodt.
ngl it's giving "return type says struct scatterlist * but the description says index" β that's literally what the original page says tho, so I'm not gonna gaslight you and change it π take it up with the manpage, not me.
π SEE ALSO π
okay this list is long but we don't skip, we don't scroll past, we read every single one π«Ά all of these live in the kernel file ./drivers/hwtracing/intel_th/msu.c:
struct msc_window(9)struct msc_iter(9)struct msc(9)struct msu_buffer_entry(9)msc_is_last_win(9)msc_next_window(9)msc_find_window(9)msc_oldest_window(9)msc_buffer_iterate(9)msc_buffer_clear_hw_header(9)msc_configure(9)msc_disable(9)msc_buffer_contig_alloc(9)msc_buffer_contig_free(9)msc_buffer_contig_get_page(9)msc_buffer_win_alloc(9)msc_buffer_win_free(9)msc_buffer_relink(9)msc_buffer_free(9)msc_buffer_alloc(9)msc_buffer_unlocked_free_unless_used(9)msc_buffer_free_unless_used(9)msc_buffer_get_page(9)struct msc_win_to_user_struct(9)msc_win_to_user(9)intel_th_msc_window_unlock(9)
like, that's the whole friend group and they all showed up to the party π msc_buffer_unlocked_free_unless_used is genuinely main character energy with a name that long, iykyk.
anyway, that's the whole page!! no cap, nothing left out π mwah π
source: ./drivers/hwtracing/intel_th Β· dated October 2026 β ok that's a wrap bestie, go read the rest of the intel_th lore, ily, bye!! πΈπ¦π
π¦ 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