A pair of memory-allocation improvements in 5.13
A pair of memory-allocation improvements in 5.13
Posted May 7, 2021 18:33 UTC (Fri) by willy (subscriber, #9762)Parent article: A pair of memory-allocation improvements in 5.13
> Returning the pages in a linked list may seem a little strange, especially since "linked lists" and "scalability" tend not to go together well. The advantage of this approach is that it does not require allocating any memory to track the allocated pages. Since the list is unlikely to be traversed (there is never a need to walk through the list as a whole), the scalability issues do not apply here.
That's not true, and we have data to prove it!
https://lore.kernel.org/linux-mm/20210319181031.44dd3113@...