Re: Question: initdata for modules....

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Sun, 20 Dec 1998 19:32:59 +0100 (CET)


> Hi everyone,
>
> I've written a driver for an intelligent multiport serial card.
> I've got the firmware for the card in a separate file.
>
> For "inside" the kernel, I should declare the firmware initdata and
> it will get freed after booting.
>
> For the module, I could link everything together (that's what I'm
> doing right now), but this means I'm wasting a few tens of kilobytes
> of unswappable kernel memory just for the firmware.

init support has been implemented, has been tested in vger kernel for quite
few months and worked pretty well. Current modutils support that. But Linus
refused to accept that for 2.2, so expect that for 2.3.early.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.1.130 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________

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