msc_oldest_window(9)
π NAME π
msc_oldest_window(9) β from the Kernel API Manual, bestie β is literally here to locate the window with oldest data. That's the whole vibe: find the oldest window. Slay. β¨
β¨ SYNOPSIS β¨
struct msc_window * msc_oldest_window (struct msc *msc );
π«Ά ARGUMENTS π«Ά
mscβ the MSC device. That's it, that's the argument, no cap. π
πΈ DESCRIPTION πΈ
Okay so listen: this should only be used in multiblock mode. Like, multiblock mode is the whole prerequisite, no exceptions mentioned. Also, the caller should hold the msc::user_count reference. That's important β hold it, bestie. π«Ά
π RETURN π
It returns the oldest window with valid data. Iconic behavior, honestly. β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/hwtracing/intel_th/msu.cβ yes, the literal kernel file. 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_win_oldest_sg(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)
Cute sign-off time: this page lives under ./drivers/hwtracing/intel_th, dated October 2026, and it's still msc_oldest_window(9) β 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