trace_ksm_stop_scan(9)
π trace_ksm_stop_scan(9) β from the Kernel API Manual, bestie β¨
okay so real talk, this is a page from the Kernel API Manual and it's short but she's important π
πΈ NAME πΈ
trace_ksm_stop_scan β the function that gets called after a brand-new ksm scan has finished, periodt π
β¨ SYNOPSIS β¨
void trace_ksm_stop_scan (int seq , u32 rmap_entries );
that's the whole signature, no cap. two args, void return, she's clean π«Ά
π¦ ARGUMENTS π¦
seqβ the sequence number of the scan π’ like, which scan this is, bestiermap_entriesβ the actual number of rmap entries π the real count, not the vibes count
π§ DESCRIPTION π§
so basically this lets you trace the completion of a ksm scan π like, the scan finished, and this is your little notification that it's done. it's giving "closing credits" energy β¨
π SEE ALSO π
first up, the kernel file that lives at ./include/trace/events/ksm.h π β that's the whole squad's home base, iykyk
and then the rest of the friend group, all in (9) section, all iconic:
trace_ksm_start_scan(9)πtrace_ksm_enter(9)πͺtrace_ksm_exit(9)πtrace_ksm_merge_one_page(9)π§©trace_ksm_merge_with_ksm_page(9)πtrace_ksm_remove_ksm_page(9)ποΈtrace_ksm_remove_rmap_item(9)π§Ήtrace_ksm_advisor(9)π§
ngl this whole page is like three sentences long and honestly? she ate. short, sweet, does exactly what she says on the tin π
and that's the whole page, bestie π«Ά brought to you by ./include/trace/events πΈ, dated October 2026 β, and you already know the title: trace_ksm_stop_scan(9) π mwah, go trace some scans β¨
π¦ 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