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

Manfred Spraul (manfreds@colorfullife.com)
Wed, 12 Jan 2000 17:15:57 +0100


Tigran Aivazian wrote:
>
> Hi,
>
> you said:
>
> > You could refine this idea by making it a macro, which resolves
> > into nothingness if CONFIG_KMOD is undefined.
>
> that will leave dependency on CONFIG_KMOD in kmod.h and thus require
> recompile of every unit that includes it - the very thing I wished to
> avoid.
>
I don't know:
you improve the compile speed at the cost of the runtime performance (ie
image size):
* a real function would reduce the compile time _if_ you change
CONFIG_KMOD.
* a define would reduce the image size. This might be a disadvantage for
an embedded systems.

I usually don't care about the compile time [coffee break], esp. since
changing CONFIG_KMOD seems rare. The final result is more important.

--
	Manfred

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