kmalloc
kmalloc
Posted Apr 11, 2025 2:27 UTC (Fri) by jedix (subscriber, #116933)In reply to: kmalloc by gmprice
Parent article: Management of volatile CXL devices
The only thing that makes remote sense is to use your slower memory under memory pressure. In other words, use your new technology for a glorified swap. Otherwise you underutilized the faster memory, which I think we can agree, is suboptimal?
If you want some fancy 'pay for faster memory on my cloud', then yes you need your application to know how to allocate from a special interface.
I also don't think your argument of HBM vs DDR is valid, what you are asking is for someone to buy a system with both HBM and DDR and with no extra work (python, go, rust, c++, etc), make it run faster. Another way to look at it is you are asking someone to buy EXTRA hardware to run slower; $ == latency.