[U-Boot] [PATCH v2] ext2: Cache line aligned partial sector bounce buffer
Wolfgang Denk
wd at denx.de
Tue Aug 23 22:18:08 CEST 2011
Dear Anton Staaf,
In message <CAF6FioUoRx50_6nEkMc0MyAKf6rZwsbu9tONrC+4c2UWUH+ZxQ at mail.gmail.com> you 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.
Strictly speaking, only the _pointer_to_ the allocated buffer is
stored in a static variable. [I know you meant this, but we should try
and be exact.]
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You have the capacity to learn from mistakes. You'll learn a lot
today.
More information about the U-Boot
mailing list