Linux kernel design patterns - lack of red/black tree search function
Linux kernel design patterns - lack of red/black tree search function
Posted Jun 21, 2009 22:46 UTC (Sun) by giraffedata (guest, #1954)In reply to: Linux kernel design patterns - lack of red/black tree search function by nix
Parent article: Linux kernel design patterns - part 2
The key is the cross-module inlining.
Why is that the key? The pointed-to function would be in the main .c file and the library function that takes the function pointer as its argument would be in an included .h file like all the other functions we like to have inlined.