On Mon, Jan 13, 2025 at 03:18:23PM +1100, Alistair Popple wrote: > I'm hoping to extend that in the near(ish) future to support large non-LRU > folios (ie. for (m)THP and THP). Part of the difficulty there is figuring out > what the API should look like as an array of PAGE_SIZE PFNs does not really > scale. I invite you to consider the encoding that I'm going to have to name soon: https://kernelnewbies.org/MatthewWilcox/NaturallyAlignedOrder Not that I'm certain an array is the right answer.