dma_chan_is_local(9)
π dma_chan_is_local(9) π
okay so bestie, this page is from the Kernel API Manual β manual name folded in near the top like a cute lil name tag π β and the whole main-character topic is dma_chan_is_local(9). no cap.
π NAME π
dma_chan_is_local β checks if the channel is in the same NUMA-node as the CPU.
β¨ SYNOPSIS β¨
bool dma_chan_is_local (struct dma_chan *chan , int cpu );
π ARGUMENTS π
chanβ DMA channel to test. this is the one you're vibe-checking πcpuβ CPU index which the channel should be close to. like, the CPU it should be near π«Ά
π¦ DESCRIPTION π¦
Returns true if the channel is in the same NUMA-node as the CPU. that's literally it, and honestly? iconic β¨ iykyk.
πΈ SEE ALSO πΈ
bestie, the full lore starts at the Kernel file ./drivers/dma/dmaengine.c, and then you can go off:
dev_to_dma_chan(9)struct dma_chan_tbl_ent(9)min_chan(9)dma_channel_rebalance(9)balance_ref_count(9)dma_chan_get(9)dma_chan_put(9)dma_find_channel(9)dma_issue_pending_all(9)dma_get_slave_channel(9)__dma_request_channel(9)dma_request_chan(9)dma_request_chan_by_mask(9)devm_dma_request_chan(9)dmaengine_get(9)dmaengine_put(9)dma_async_device_register(9)dma_async_device_unregister(9)dmaenginem_async_device_register(9)dma_wait_for_async_tx(9)dma_run_dependencies(9)
π«Ά xoxo, your kernel bestie β source/version ./drivers/dma, dated October 2026, and yes this was dma_chan_is_local(9) the whole time π periodt.
π¦ 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