Linux-kernel mailing list archive 2000-02,: Re: [idea] request_module(const char *fmt, ...);

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

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pavel Machek: "Re: CD-ROM Driver Design"
- Previous message: Ph. Marek: "Re: [RFC] Maintaining persistent kernel data across module"
- Maybe in reply to: Tigran Aivazian: "[idea] request_module(const char *fmt, ...);"
- Next in thread: Manfred Spraul: "Re: [idea] request_module(const char *fmt, ...);"

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/

- Next message: Pavel Machek: "Re: CD-ROM Driver Design"
- Previous message: Ph. Marek: "Re: [RFC] Maintaining persistent kernel data across module"
- Maybe in reply to: Tigran Aivazian: "[idea] request_module(const char *fmt, ...);"
- Next in thread: Manfred Spraul: "Re: [idea] request_module(const char *fmt, ...);"