Messages in this thread | | | Date | Fri, 18 Feb 2000 16:09:40 -0500 | From | Tim Magill <> | Subject | Re: freeing a static after one use only? |
| |
On Thu, Feb 17, 2000 at 11:54:46PM +0100, Peter T. Breuer wrote: > I have another request for help ... I humbly beseech such advice > as may be bestown. > > I have a large static initialized array that that is compiled into a > module (it's a translation table, int to char*). I want to > > use it once and then throw it away > > after it has been used for the purpose it was defined for: translating > kernel data into another format. The latter will be supplied by the > module to readers on demand.
I'm not really up on drivers, so if this is stupid forgive me.
Would it be possible to define the static data in its own loadable module, that your driver could insmod and then rmmod?
tim
- 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/
| |