VHOST_SET_FORK_FROM_OWNER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so this is the Kernel API Manual page for VHOST_SET_FORK_FROM_OWNER(9) β€” the icon that sets the fork_owner flag for the vhost device. This ioctl must be called before VHOST_SET_OWNER. Only available when CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y. ✨


✨ SYNOPSIS ✨

the whole synopsis is literally just this, bestie:

VHOST_SET_FORK_FROM_OWNER

πŸ’… DESCRIPTION πŸ’…

so the param is fork_owner: an 8-bit value that determines the vhost thread mode. this is the main character setting for how vhost workers get made πŸ‘‘

  • When fork_owner is set to VHOST_FORK_OWNER_TASK (the default value):
    • Vhost will create vhost worker as tasks forked from the owner, inheriting all of the owner's attributes. 🫢
  • When fork_owner is set to VHOST_FORK_OWNER_KTHREAD:
    • Vhost will create vhost workers as kernel threads. 🧡

🌈 SEE ALSO 🌈

  • Kernel file ./tools/perf/trace/beauty/include/uapi/linux/vhost.h β€” go peek, iykyk πŸ“š

that's the whole page, bestie. source/version: ./tools/perf/trace/beauty/incl... β€” October 2026. slay, go set that flag responsibly πŸ’–

πŸ“¦ where this page comes from