activate_mm(9)
π 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 beforenext_mmβ new mm, the fresh one it's switching into
π₯ SEE ALSO π₯
- Kernel file
./include/asm-generic/mmu_context.h init_new_context(9)destroy_context(9)
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
- 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