Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-24 Thread Marek Bykowski
> > OK, thanks. Can you please re-send and include the above re-phrased to > make sense in a commit message, in the body of the commit as well so > it's documented more in-tree when this would be helpful? Thanks again! > > -- > Tom Sure Tom. Will do that Monday/Tuesday. Thanks, Marek

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-24 Thread Tom Rini
On Tue, Apr 21, 2020 at 01:00:41PM +0200, Marek wrote: > > > > Can you please showcase using this feature somewhere? Thanks! > > > > -- > > Tom > > Yes. First of all, sincere apology for such a massive delay in it. > I got snowed with the corporation work of mine. > > So here is my go at

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-21 Thread Marek
> > Can you please showcase using this feature somewhere? Thanks! > > -- > Tom Yes. First of all, sincere apology for such a massive delay in it. I got snowed with the corporation work of mine. So here is my go at showcasing it. We are in SPL U-Boot running code from within the static memory:

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-21 Thread Marek
The previous message of mine went out of thread. It should be in thread now. On Tue, Apr 21, 2020 at 02:21:36AM +0200, Marek wrote: > > > > Can you please showcase using this feature somewhere? Thanks! > > > > Yes. First of all, sincere apology for such a massive delay in it. > I got snowed

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-20 Thread Marek
> > Can you please showcase using this feature somewhere? Thanks! > Yes. First of all, sincere apology for such a massive delay in it. I got snowed with the corporation work of mine. So here is my go at showcasing it. We are in SPL U-Boot running code from within the static memory:

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-03-20 Thread Tom Rini
On Wed, Mar 18, 2020 at 01:14:43PM +0100, marek.bykow...@gmail.com wrote: > From: Marek Bykowski > > If a system wants the malloc to get moved around from one to another > memory range it should call mem_malloc_init() with the updated memory > ranges. However setting aside the new memory alone

[PATCH] dlmalloc: Add an option to default malloc to init

2020-03-18 Thread marek . bykowski
From: Marek Bykowski If a system wants the malloc to get moved around from one to another memory range it should call mem_malloc_init() with the updated memory ranges. However setting aside the new memory alone isn't enough. It should also bring the bins and static bookkeeping data to init. One