On Wed, Jul 13, 2022 at 03:48:35PM +0000, Song Liu wrote: > > So how about instead we separate them? Then much of the problem goes > > away, you don't need to track these 2M chunks at all. > > If we manage the memory in < 2MiB granularity, either 4kB or smaller, > we still need some way to track which parts are being used, no? I mean > the bitmap. I was thinking the vmalloc vmap_area tree could help out there.