activate_mm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… activate_mm(9) πŸ’…

hiii bestie, welcome to the Kernel API Manual page for activate_mm(9). This is the function that gets called after exec switches the current task to a new mm, to switch to it. iconic behavior, honestly ✨


🌸 NAME 🌸

activate_mm β€” called after exec switches the current task to a new mm, to switch to it

πŸ¦‹ SYNOPSIS πŸ¦‹

void activate_mm (struct mm_struct *prev_mm , struct mm_struct *next_mm );

πŸ’– ARGUMENTS πŸ’–

  • prev_mm β€” previous mm of this task, aka the old mm this task was rocking before
  • next_mm β€” new mm, the fresh one it's switching into

πŸ”₯ SEE ALSO πŸ”₯


xoxo, your kernel bestie πŸ’œ β€” source/version ./include/asm-generic, dated October 2026, and it’s literally the activate_mm(9) page. periodt 🫢

πŸ“¦ where this page comes from