vio_cmo_dealloc(9)
π vio_cmo_dealloc(9) π
okay bestie, welcome to the Kernel API Manual entry for vio_cmo_dealloc β yes, the (9) is right there, weβre in kernel API land. this function is literally about deallocating IO memory from CMO-enable devices, and the whole vibe is βgive the memory back to the correct pools.β no cap. π§β¨
πΈ NAME πΈ
vio_cmo_dealloc β deallocate IO memory from CMO-enable devices π
π SYNOPSIS π
void vio_cmo_dealloc (struct vio_dev *viodev , size_t size );
π¦ ARGUMENTS π¦
viodevβ VIO device freeing IO memory π«Άsizeβ size of deallocation, aka how much is being given back π
β¨ DESCRIPTION β¨
IO memory is freed by the device back to the correct memory pools. and bestie, the order is the whole plot:
- the spare pool is replenished first from either memory pool π
- then the reserve pool is used to reduce device entitlement π
- the excess pool is used to increase the reserve pool toward the desired entitlement target π₯
- and then the remaining memory is returned to the pools. periodt. π
π SEE ALSO π
the kernel file is ./arch/powerpc/platforms/pseries/vio.c, and hereβs the whole friend group:
vio_cmo_alloc(9)vio_cmo_entitlement_update(9)vio_cmo_balance(9)vio_cmo_set_dev_desired(9)vio_cmo_bus_probe(9)vio_cmo_bus_remove(9)vio_cmo_bus_init(9)vio_h_cop_sync(9)vio_match_device(9)vio_unregister_driver(9)vio_register_device_node(9)vio_bus_init(9)vio_get_attribute(9)vio_find_node(9)
okay thatβs the whole page, bestie! source/version says ./arch/powerpc/platforms/pseries, dated October 2026, and the page is vio_cmo_dealloc(9). byeee ππ
π¦ 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