[PATCH] extend physmap.c to support run-time configure and partitioning (take 3)

Jun Sun jsun at mvista.com
Thu Nov 6 14:09:21 EST 2003


On Thu, Nov 06, 2003 at 09:50:07AM +0000, David Woodhouse wrote:
> On Wed, 2003-11-05 at 09:56 -0800, Jun Sun wrote:
> > Hmm, can you be more specific?  Here are all static variables that
> > matter in physmap.c.  Which ones are you thinking to eliminate?  And in 
> > what way?  (Assuming you do not mean I just drop "static" modifier...)
> 
> I mean mymtd, in particular. 
> 

Can you explain how to eliminate that?

All mapping drivers keep a static pointer to remember the mtd info
it discovers so that it can free it later.  Are you suggesting
we get rid of the exit function and we don't free it?


Jun



More information about the linux-mtd mailing list