> Moreover, if your thinking is that we do not need a static inline > function replicated at every caller, maybe we should introduce a > lib/hashtable.c that implements those 2 functions.
That was my thought... Given their nature, I'd guess they aren't critical path. Probably not worth adding an entire source file though. With regard to 'inline', when I say it, I really mean it! Unfortunately some people seem to just type it anyway (rather like 'register' used to get used) - so the compilers start ignoring the request. At least some versions of gcc will usually inline static functions that are only called once - but even then it can change its mind for almost no reason. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/