exit_to_user_mode_loop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… exit_to_user_mode_loop πŸ’…

okay so bestie, welcome to the Kernel API Manual page for exit_to_user_mode_loop β€” it's giving β€œdo the pending work before we head back to user space” energy. periodt. πŸ’–

✨ NAME ✨

exit_to_user_mode_loop β€” do any pending work before leaving to user space. no cap, that's literally the whole name vibe. πŸ¦‹

🌸 SYNOPSIS 🌸

unsigned long exit_to_user_mode_loop (struct pt_regs *regs , unsigned
long ti_work );

πŸŽ€ ARGUMENTS πŸŽ€

  • regs β€” Pointer to pt_regs on entry stack. that's the pointer bestie, sitting right there on the entry stack. 🫢
  • ti_work β€” TIF work flags as read by the caller. exactly as the caller read them, iykyk. ✨

πŸ”₯ SEE ALSO πŸ”₯


πŸŽ€ cute sign-off time: source/version is ./kernel/entry, and the date is October 2026. mwah, bye bestie! πŸ’–
πŸ“¦ where this page comes from