This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pooled memory allocation for JFFS2


On Tue, 2003-11-18 at 12:32 +0100, Thomas Koeller wrote:
>  except for one place in write.c
> where it was necessary to avoid allocation of a
> compression buffer.

... and same in gc.c around line 1251?

I think I'll change the jffs2_compress() API so it allocates its own
buffer if compression is permitted (for this inode), and avoid the
conditional allocations in its callers.


-- 
dwmw2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]