STRUCT KSM_MM_SLOT(9)
π struct ksm_mm_slot(9) π
okay so bestie, welcome to the Kernel API Manual β¨ and honestly? this one's a little cutie. it's all about struct ksm_mm_slot β which is literally just the ksm information for each mm that's being scanned π. yep. per-mm. she's specific like that π
πΈ NAME πΈ
struct ksm_mm_slot β the ksm info that lives per mm that is being scanned π¦
β¨ SYNOPSIS β¨
struct ksm_mm_slot {
struct mm_slot slot;
struct ksm_rmap_item *rmap_list;
};
like, that's the whole vibe. two members, no notes π
π«Ά Members π«Ά
slotβ this one's your hash lookup from mm to mm_slot π iykykrmap_listβ the head for this mm_slot's singly-linked list of rmap_items π like she's holding the whole linked list together, main character energy fr fr
π SEE ALSO π
go read these next, no cap, they're all in the kernel file ./mm/ksm.c:
Overview(9)struct ksm_scan(9)struct ksm_stable_node(9)struct ksm_rmap_item(9)struct advisor_ctx(9)replace_page(9)ksm_do_scan(9)ksm_vma_flags(9)ksm_enable_merge_any(9)ksm_disable_merge_any(9)
and that's the whole page bestie, you ate that πβ¨ this one's from ./mm, dated October 2026, and she's filed under struct ksm_mm_slot(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