Re:A pair of memory-allocation improvements in Linux 5.13
by DoomHotel on Thursday May 13, 2021 @03:14AM
(#27139289)
The Sun RPC code had a loop where it allocated one page at a time and filled an array with the returned pointers. The article says there was a 500% performance improvement after replacing the loop with a single call to the batch allocator. (While RPC can be thought of as networking code, it is more than just network packet flow.)
There are probably other places where this will help. Now that the interface is available, developers can start trying it.
Is the kernel then the primary place this is used now? Which places in the kernel need and take advantage of it?