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

Anton Staaf robotboy at google.com
Tue Aug 23 20:57:51 CEST 2011


On Tue, Aug 23, 2011 at 11:55 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> 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 ! :)

Fair enough.  I'm happier not leaking as well.  I'll resubmit this
patch once the aligned alloca thread has come to a consensus.

Thanks,
    Anton

> -mike
>


More information about the U-Boot mailing list