Re: [idea] request_module(const char *fmt, ...);

From: David Woodhouse (dwmw2@infradead.org)
Date: Thu Jan 13 2000 - 06:09:03 EST


tigran@sco.COM said:
> Q. What is the right design decision for Linux - to have a CONFIG_KMOD
> dependency in the header that declares request_module() or to have
> an extra function call in a non-performance critical code path that
> invokes request_module() but avoid the dependency?

Personally, I think we should avoid the dependency, and put up with the tiny
amount of extra time it takes in non-critical code paths - if it's trying a
request_module but kmod isn't present, then it's almost invariably going to
fail to do what it was intending to do anyway - so who cares about a few extra
cycles?

But The Master will speak, or more likely he'll just do what he thinks is best
and we'll work it out from that :)

--
dwmw2

- 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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:22 EST