STRUCT KSM_MM_SLOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ” iykyk
  • rmap_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:


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