3 ms·
The kernel allocates memory too, hence an improvement at that level benefits allocations across the board.
by teloli 5y ago
The kernel allocates memory too, hence an improvement at that level benefits allocations across the board.
- WalterGR 5y agoSo the use case described by Brouer was for networking code in the kernel? The article explicitly mentions his use case as the ‘original’ motivation, regardless of whether that’s the primary use case. Is the kernel then the primary place this is used now? Which places in the kernel need and take advantage of it?
- DoomHotel 5y agoThe 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.