Re: freeing a static after one use only?

From: Martin Mares (mj@suse.cz)
Date: Fri Feb 18 2000 - 03:08:28 EST


> They cheat and load a file. Its ugly its bad and Linus doesnt approve of
> the sound approach.
>
> You want to sit with most of the driver uninitialised until someone opens
> it and does an ioctl load-microcode, then finish registering the devices

   In the future, we probably should extend __init/__initdata mechanism
to modules, so that microcode can be just a static __initdata array.

                                Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"CChheecckk yyoouurr dduupplleexx sswwiittcchh.."

- 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 : Wed Feb 23 2000 - 21:00:20 EST