On Thu, Feb 20, 2025 at 08:26:21PM +0100, David Hildenbrand wrote: > On 20.02.25 19:43, Gregory Price wrote: > > There were ideas in how to optimize that (e.g., requiring a new sysfs > interface to expose variable-sized blocks), if anybody is interested, please > reach out. > Multiple block sizes would allow managing the misaligned issues I discussed earlier as well (where a memory region is not aligned to the arch-preferred block size). At least in that scenario, the misaligned regions could be brought online as minimal block size (256MB) while the aligned portions could be brought online in larger (2GB) chunks. Do you think this would this require a lot of churn to enable? Last I dug through hotplug, it seemed to assume block sizes would be uniform. I was hesitant to start ripping through it. ~Gregory