Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-08 Thread Mike Frysinger
On Wednesday 08 July 2009 02:58:42 Peter Tyser wrote: > Robin Getz wrote: > > On Wed 8 Jul 2009 01:58, Mike Frysinger pondered: > >> On Tuesday 07 July 2009 18:24:56 Kumar Gala wrote: > >>> On Jul 7, 2009, at 3:25 PM, Scott Wood wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 15:02

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-08 Thread Peter Tyser
Robin Getz wrote: > On Wed 8 Jul 2009 01:58, Mike Frysinger pondered: >> On Tuesday 07 July 2009 18:24:56 Kumar Gala wrote: >>> On Jul 7, 2009, at 3:25 PM, Scott Wood wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:02 Tue 07 Jul , Scott Wood wrote: >> Kumar Gala wrote: >

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Robin Getz
On Wed 8 Jul 2009 01:58, Mike Frysinger pondered: > On Tuesday 07 July 2009 18:24:56 Kumar Gala wrote: > > On Jul 7, 2009, at 3:25 PM, Scott Wood wrote: > > > Jean-Christophe PLAGNIOL-VILLARD wrote: > > >> On 15:02 Tue 07 Jul , Scott Wood wrote: > > >>> Kumar Gala wrote: > > Those would he

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Mike Frysinger
On Tuesday 07 July 2009 18:24:56 Kumar Gala wrote: > On Jul 7, 2009, at 3:25 PM, Scott Wood wrote: > > Jean-Christophe PLAGNIOL-VILLARD wrote: > >> On 15:02 Tue 07 Jul , Scott Wood wrote: > >>> Kumar Gala wrote: > Those would help if the data structs had gotten bigger. In this > case

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Robin Getz
On Tue 7 Jul 2009 15:49, Kumar Gala pondered: > > Where, do you mean bloat-o-meter? rg...@imhotep:~/linux-2.6.x> ./scripts/bloat-o-meter usage: ./scripts/bloat-o-meter file1 file2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Kumar Gala
On Jul 7, 2009, at 3:25 PM, Scott Wood wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: >> On 15:02 Tue 07 Jul , Scott Wood wrote: >>> Kumar Gala wrote: Those would help if the data structs had gotten bigger. In this case the code itself is just larger. >>> Perhaps we should loo

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Kim Phillips
On Tue, 7 Jul 2009 14:50:31 -0500 Kumar Gala wrote: > Those would help if the data structs had gotten bigger. In this case > the code itself is just larger. fyi, gcc4.4.0 apparently doesn't like to emit ld/st multiple insns as much as prior versions did. NAND bootstraps don't fit, e.g., beca

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread T Ziomek
On Tue, Jul 07, 2009 at 02:50:31PM -0500, Kumar Gala wrote: > On Jul 7, 2009, at 2:16 PM, T Ziomek wrote: > >On Tue, Jul 07, 2009 at 02:34:32PM -0400, Mike Frysinger wrote: > >>use the bloatcheck script to do a human readable compare between > >>the two > >>objects. you can find it in the linux

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Scott Wood
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:02 Tue 07 Jul , Scott Wood wrote: >> Kumar Gala wrote: >>> Those would help if the data structs had gotten bigger. In this case >>> the code itself is just larger. >> Perhaps we should look into using/writing a malloc implementation that >> ta

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:02 Tue 07 Jul , Scott Wood wrote: > Kumar Gala wrote: > > Those would help if the data structs had gotten bigger. In this case > > the code itself is just larger. > > Perhaps we should look into using/writing a malloc implementation that > takes a space/speed tradeoff more in line wi

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Scott Wood
Kumar Gala wrote: > Those would help if the data structs had gotten bigger. In this case > the code itself is just larger. Perhaps we should look into using/writing a malloc implementation that takes a space/speed tradeoff more in line with U-boot's requirements (using a simple first-fit line

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Kumar Gala
On Jul 7, 2009, at 2:16 PM, T Ziomek wrote: > On Tue, Jul 07, 2009 at 02:34:32PM -0400, Mike Frysinger wrote: >> On Tuesday 07 July 2009 12:30:18 Kumar Gala wrote: >>> Here are some size #'s >>> >>> [ga...@blarg u-boot-85xx]$ size u-boot >>>textdata bss dec hex filename >>

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Kumar Gala
On Jul 7, 2009, at 1:34 PM, Mike Frysinger wrote: > On Tuesday 07 July 2009 12:30:18 Kumar Gala wrote: >> On Jul 7, 2009, at 11:27 AM, Kumar Gala wrote: >>> Signed-off-by: Kumar Gala >>> --- >>> This is an attempt at using dlmalloc v2.8.4. Its a work in >>> progress, but >>> wanted to post to s

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread T Ziomek
On Tue, Jul 07, 2009 at 02:34:32PM -0400, Mike Frysinger wrote: > On Tuesday 07 July 2009 12:30:18 Kumar Gala wrote: > > Here are some size #'s > > > > [ga...@blarg u-boot-85xx]$ size u-boot > > text data bss dec hex filename > > 392040 50536 41957 484533 764b5 u-b

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Mike Frysinger
On Tuesday 07 July 2009 12:30:18 Kumar Gala wrote: > On Jul 7, 2009, at 11:27 AM, Kumar Gala wrote: > > Signed-off-by: Kumar Gala > > --- > > This is an attempt at using dlmalloc v2.8.4. Its a work in > > progress, but > > wanted to post to see what peoples feelings are on updating. This > > ver

Re: [U-Boot] [RFC][PATCH] Update malloc to dlmalloc version 2.8.4

2009-07-07 Thread Kumar Gala
On Jul 7, 2009, at 11:27 AM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- > This is an attempt at using dlmalloc v2.8.4. Its a work in > progress, but > wanted to post to see what peoples feelings are on updating. This > version > resolves all the various warnings we see w/gcc4.4 an