Why don't you compile with
(a) calls to request_module()
(b) no calls
and see how much difference it makes to the kernel size? If there's not
much difference, nobody should care that much. request_module() calls
shouldn't be in extremely time critical code anyway. If it makes a big
difference, then its important to be able to disable it somehow.
btw, I think static inline varargs functions are not inlined by GCC, so
you can't use that to optimise away the calls.
You can use this though:
#define request_modulef(fmt...) ((void) 0)
Enjoy,
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/