3 ms·
I agree that in userspace, linked lists rarely are the way to go. Chasing pointers is too slow. We're talking about kernelspace, though, and different rules ap
by lorenzhs 10y ago
I agree that in userspace, linked lists rarely are the way to go. Chasing pointers is too slow.
We're talking about kernelspace, though, and different rules apply there. Memory allocation works very differently, and you have to handle every possible error path.