dax_kmem_do_hotplug(9)
πΈ NAME πΈ
okay so welcome to the dax_kmem_do_hotplug(9) page from the Kernel API Manual, bestie π. This function is dax_kmem_do_hotplug β hotplug memory for dax kmem device. Thatβs the whole name vibe: one job, hotplug memory for a dax kmem device, periodt.
β¨ SYNOPSIS β¨
int dax_kmem_do_hotplug (struct dev_dax *dev_dax , struct dax_kmem_data
*data , int online_type );
π ARGUMENTS π
dev_daxβ thedev_daxinstance, like the main character of this call π«Ά.dataβ thedax_kmem_datastructure with resource tracking. Itβs literally tracking the resources.online_typeβ the online policy to use for the memory blocks, no cap.
π DESCRIPTION π
Hotplugs all ranges in the dev_dax region as system memory, using the provided online policy: offline, online, online_movable, or online_kernel. Thatβs the lineup, bestie β¨.
Return vibe check: it returns the number of successfully mapped ranges, or negative error. So itβs either a count that slays or a negative error situation π.
π¦ SEE ALSO π¦
Kernel file: ./drivers/dax/kmem.c β yes, thatβs the spot π
cute sign-off time π: this page is from ./drivers/dax, dated October 2026, and itβs the dax_kmem_do_hotplug(9) manual entry. mwah π
π¦ 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