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

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Wed Jan 12 2000 - 11:15:57 EST


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/



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