On Sat, 25 Jan 2025 14:53:57 +0800 yangge1116@xxxxxxx wrote: > From: yangge <yangge1116@xxxxxxx> > > There are 4 NUMA nodes on my machine, and each NUMA node has 32GB > of memory. I have configured 16GB of CMA memory on each NUMA node, > and starting a 32GB virtual machine with device passthrough is > extremely slow, taking almost an hour. > > ... > > After this fix, it only takes a few tens of seconds to start a 32GB > virtual machine with device passthrough functionality. An hour is unacceptable - I'll add cc:stable to this. If this is a regression then a Link: tag would be nice. Or perhaps the kernel had always done this.