From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] ext2: Cache line aligned partial sector bounce buffer
Date: Tue, 23 Aug 2011 14:55:27 -0400 [thread overview]
Message-ID: <201108231455.29383.vapier@gentoo.org> (raw)
In-Reply-To: <CAF6FioUoRx50_6nEkMc0MyAKf6rZwsbu9tONrC+4c2UWUH+ZxQ@mail.gmail.com>
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
next prev parent reply other threads:[~2011-08-23 18:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 20:12 [U-Boot] [PATCH v2] ext2: Cache line aligned partial sector bounce buffer Anton Staaf
2011-08-22 21:42 ` Wolfgang Denk
2011-08-22 21:48 ` Anton Staaf
2011-08-23 17:23 ` Mike Frysinger
2011-08-23 17:58 ` Anton Staaf
2011-08-23 18:32 ` Mike Frysinger
2011-08-23 18:48 ` Anton Staaf
2011-08-23 18:55 ` Mike Frysinger [this message]
2011-08-23 18:57 ` Anton Staaf
2011-08-23 20:18 ` Wolfgang Denk
2011-08-23 20:24 ` Anton Staaf
2011-08-23 18:39 ` Wolfgang Denk
2011-08-23 18:47 ` Mike Frysinger
2011-08-23 18:52 ` Anton Staaf
2011-08-23 20:16 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201108231455.29383.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox