resume(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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