JFFS2 eats memory

Øyvind Harboe oyvind.harboe at zylin.com
Mon Jul 19 10:18:27 EDT 2004


On Wed, 2004-07-14 at 10:15, Øyvind Harboe wrote:
> On Wed, 2004-07-14 at 01:01, David Woodhouse wrote:
> > On Tue, 2004-07-13 at 15:41 +0200, Øyvind Harboe wrote:
> > > After your walkthrough if the approach on IRC, I came up with this
> > > patch, which seems to take care of the problem.
> > 
> > I can't work out what that's doing. Does it do something like this?
> 
> Yes.
> 
> - I made a small fix: update jeb->last_node
> - Ran some tests and it appears to do the job nicely on my rocket.

It crashes during garbage collect.

How does this fix look?

-- 
Øyvind Harboe
http://www.zylin.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memfixgc.txt
Type: text/x-patch
Size: 1987 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20040719/883a16d8/attachment.bin 


More information about the linux-mtd mailing list