<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/dlmalloc.c, branch v2024.07-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>mcheck: add pedantic mode support</title>
<updated>2024-04-12T22:23:06+00:00</updated>
<author>
<name>Eugene Uriev</name>
<email>eugeneuriev@gmail.com</email>
</author>
<published>2024-03-31T20:03:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=18c1bfafe0ccdd3229d91bbb07ed942e9f233f93'/>
<id>18c1bfafe0ccdd3229d91bbb07ed942e9f233f93</id>
<content type='text'>
The pedantic mode is run-time contolled, so
appropriate registry take place everytime.

Maybe it's worth to use compile-time control only.
So, the registry could be optimized out by an #ifdef.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pedantic mode is run-time contolled, so
appropriate registry take place everytime.

Maybe it's worth to use compile-time control only.
So, the registry could be optimized out by an #ifdef.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mcheck: support memalign</title>
<updated>2024-04-12T22:23:06+00:00</updated>
<author>
<name>Eugene Uriev</name>
<email>eugeneuriev@gmail.com</email>
</author>
<published>2024-03-31T20:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ae838768d79cbb834c4a8a5f4810df373e58b622'/>
<id>ae838768d79cbb834c4a8a5f4810df373e58b622</id>
<content type='text'>
Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mcheck: integrate mcheck into dlmalloc.c</title>
<updated>2024-04-12T22:23:06+00:00</updated>
<author>
<name>Eugene Uriev</name>
<email>eugeneuriev@gmail.com</email>
</author>
<published>2024-03-31T20:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=151493a875071448e2582489f6fa84d1630b3368'/>
<id>151493a875071448e2582489f6fa84d1630b3368</id>
<content type='text'>
This changes are probable worth to be generalized in a
separate .h-file so, making it able to cover
libc-mallocs and others, without too much copy-paste.

But the malloc&lt;=&gt;mALLOc substitutions interfere
with an elegant way to do this.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes are probable worth to be generalized in a
separate .h-file so, making it able to cover
libc-mallocs and others, without too much copy-paste.

But the malloc&lt;=&gt;mALLOc substitutions interfere
with an elegant way to do this.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mcheck: Use memset/memcpy instead of MALLOC_ZERO/MALLOC_COPY for mcheck.</title>
<updated>2024-04-12T22:23:06+00:00</updated>
<author>
<name>Eugene Uriev</name>
<email>eugeneuriev@gmail.com</email>
</author>
<published>2024-03-31T20:03:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dfba071ddc3e609e61770b34ab0115fbce05edb2'/>
<id>dfba071ddc3e609e61770b34ab0115fbce05edb2</id>
<content type='text'>
These fast helpers sometimes breach mem-chunk boundaries.
Thus they trigger mcheck alarm. Standard ones are accurate though.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These fast helpers sometimes breach mem-chunk boundaries.
Thus they trigger mcheck alarm. Standard ones are accurate though.

Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mcheck: prepare +1 tier for mcheck-wrappers, in dl-*alloc commands</title>
<updated>2024-04-12T22:23:06+00:00</updated>
<author>
<name>Eugene Uriev</name>
<email>eugeneuriev@gmail.com</email>
</author>
<published>2024-03-31T20:03:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c82ff481159d2cf7e637c709df84883e09bba588'/>
<id>c82ff481159d2cf7e637c709df84883e09bba588</id>
<content type='text'>
Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Eugene Uriev &lt;eugeneuriev@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>malloc: Enable assertions if UNIT_TEST is enabled</title>
<updated>2023-10-11T17:22:29+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2023-10-08T02:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1786861415f4494a38630584a8fbc9c939a024ce'/>
<id>1786861415f4494a38630584a8fbc9c939a024ce</id>
<content type='text'>
dlmalloc has some sanity checks it performs on free() which can help detect
memory corruption. However, they are only enabled if DEBUG is defined before
including common.h. Define DEBUG earlier if UNIT_TEST is enabled so that
assertions are enabled in sandbox.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dlmalloc has some sanity checks it performs on free() which can help detect
memory corruption. However, they are only enabled if DEBUG is defined before
including common.h. Define DEBUG earlier if UNIT_TEST is enabled so that
assertions are enabled in sandbox.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN</title>
<updated>2023-10-06T18:38:12+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-09-26T14:14:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d6d50751469fbadec3e34fbb6d06f21746619dd'/>
<id>3d6d50751469fbadec3e34fbb6d06f21746619dd</id>
<content type='text'>
Use the new SPL/TPL/VPL_SYS_MALLOC_F symbols to determine whether the
malloc pool exists.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the new SPL/TPL/VPL_SYS_MALLOC_F symbols to determine whether the
malloc pool exists.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'next'</title>
<updated>2023-10-02T14:55:44+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-10-02T14:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ac897385bbfa30cfdfb62ccf24acfcd4b274b2ff'/>
<id>ac897385bbfa30cfdfb62ccf24acfcd4b274b2ff</id>
<content type='text'>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: malloc: Remove unused NEEDS_MANUAL_RELOC code bits</title>
<updated>2023-09-14T14:42:24+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2023-09-06T21:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6a595c2f67e0647fc8360c86aa765dff6a667ced'/>
<id>6a595c2f67e0647fc8360c86aa765dff6a667ced</id>
<content type='text'>
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8f8 ("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8f8 ("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dlmalloc: Add support for SPL_SYS_MALLOC_CLEAR_ON_INIT</title>
<updated>2023-09-05T02:53:46+00:00</updated>
<author>
<name>Shengyu Qu</name>
<email>wiagn233@outlook.com</email>
</author>
<published>2023-08-24T16:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c9db9a2ef5558dc1e83965e452030dbf5ce93de2'/>
<id>c9db9a2ef5558dc1e83965e452030dbf5ce93de2</id>
<content type='text'>
To support SPL_SYS_MALLOC_CLEAR_ON_INIT, we have to modify
#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT
to #if CONFIG_IS_ENABLED(SYS_MALLOC_CLEAR_ON_INIT)

Signed-off-by: Bo Gan &lt;ganboing@gmail.com&gt;
Signed-off-by: Shengyu Qu &lt;wiagn233@outlook.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support SPL_SYS_MALLOC_CLEAR_ON_INIT, we have to modify
#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT
to #if CONFIG_IS_ENABLED(SYS_MALLOC_CLEAR_ON_INIT)

Signed-off-by: Bo Gan &lt;ganboing@gmail.com&gt;
Signed-off-by: Shengyu Qu &lt;wiagn233@outlook.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
