VHOST_SET_FORK_FROM_OWNER(9)
π¦ 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_owneris set toVHOST_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_owneris set toVHOST_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
- 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