Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 09:27:02AM -0700, Stephen Warren wrote: > On 01/26/2016 01:54 AM, Lukasz Majewski wrote: > >Hi Stephen, > > > >>From: Stephen Warren > >> > >>Use of memalign can trigger fragmentation issues such as: > >> > >>// Internally, this needs to find a free block quite bit larger t

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Stephen Warren
On 01/26/2016 01:54 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren Use of memalign can trigger fragmentation issues such as: // Internally, this needs to find a free block quite bit larger than s. // Once the free region is found, any unaligned "padding" immediately // before an

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > Use of memalign can trigger fragmentation issues such as: > > // Internally, this needs to find a free block quite bit larger than > s. // Once the free region is found, any unaligned "padding" > immediately // before and after the block is marked free, so

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 02:03:42PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Use of memalign can trigger fragmentation issues such as: > > // Internally, this needs to find a free block quite bit larger than s. > // Once the free region is found, any unaligned "padding" immediatel

[U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-25 Thread Stephen Warren
From: Stephen Warren Use of memalign can trigger fragmentation issues such as: // Internally, this needs to find a free block quite bit larger than s. // Once the free region is found, any unaligned "padding" immediately // before and after the block is marked free, so that the allocation // tak