This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: JFFS2 eats memory
On Wed, 2004-07-21 at 14:03 +0200, Ãyvind Harboe wrote:
> > Obviously I'm wrong -- you have empirical evidence. But why?
>
> I have no idea. It is easy to reproduce in the fashion I described and
> this problem is complex enough that it takes a JFFS2 export a couple of
> rounds in the debugger to sort out. At this point I think little would
> be gained by me pursuing it.
OK, I'll look at it when I get home from OLS.
> But. What about my fix where I set jeb->gc_node to the previous element?
> Isn't that a better solution in any case?
I don't like the idea that the gc_node could go _backwards_ very much.
Although it should be fine really I'd like to know why moving it
forwards (in particular to NULL) was causing the code to break.
If my assumptions about the behaviour were flawed, I'd like to know
precisely why. It might affect the other alternative too, just not as
obviously.
--
dwmw2
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss