From: Mike Frysinger Date: Tue, 23 Aug 2011 14:55:27 -0400 Subject: [U-Boot] [PATCH v2] ext2: Cache line aligned partial sector bounce buffer In-Reply-To: References: <1314043924-22130-1-git-send-email-robotboy@chromium.org> <201108231432.40653.vapier@gentoo.org> Message-ID: <201108231455.29383.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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