resume(9)
π NAME π
Okay so bestie, this is resume(9) from the Kernel API Manual β¨ β and the name is literally doing the most: resume β resume execution of a task. That's the vibe π.
β¨ SYNOPSIS β¨
struct task_struct * resume (struct task_struct *prev , struct
task_struct *next , struct thread_info *next_ti );
π ARGUMENTS π
prevβ the task that was previously executed.nextβ the task to begin executing.next_tiβtask_thread_info(next).
πΈ DESCRIPTION πΈ
So whilst scheduling is happening, this function is used to save the context of prev & load the context of next. Then it returns prev β like, that's the whole plot ππ
.
π¦ SEE ALSO π¦
Kernel file ./arch/mips/include/asm/switch_to.h β go peek, iykyk πβ¨.
Source/version: ./arch/mips/include/asm Β· date: October 2026. Bye bestie, slay your scheduling π«Άπ
π¦ 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