[U-Boot] [PATCH v2] ext2: Cache line aligned partial sector bounce buffer

Mike Frysinger vapier at gentoo.org
Tue Aug 23 20:55:27 CEST 2011


On Tuesday, August 23, 2011 14:48:24 Anton Staaf wrote:
> On Tue, Aug 23, 2011 at 11:32 AM, Mike Frysinger wrote:
> > and what do you do when there is no memory left in the malloc arena
> > because you leaked it all and so can't service any new read requests ?
> 
> I think you've miss-understood my patch.  The allocated buffer is
> stored in a static variable.  So only the first time through is it
> allocated.

yes, i missed that.  still no excuse for leaking though ! :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110823/5e2150a7/attachment.pgp 


More information about the U-Boot mailing list