Re: [PATCH] Nano-malloc: Fix for unwanted external heap fragmentation

Keith Packard <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Ola Olsson <[email protected]> writes:

> Hi again,
>
> I am sorry but I have no idea what picolibc is and I haven't seen any
> errata/todo or anything in newlib indicating that this issue will be fixed.
> I am just a simple programmer; I pulled latest and greatest of newlib, used
> "git log" and inspected the last 7 commits of nano-mallocr.c and then I was
> back in year 2017...Hence, I pretty much came to the conclusion that this
> issue won't be fixed unless I fix it myself.

Oh, sorry, picolibc is a newlib fork designed for embedded systems

        https://github.com/picolibc/picolibc

Picolibc release 1.5.1 has the updated nano-malloc code in place. This
is packaged in Debian unstable if you're using that. It also builds on
Windows platforms.

> Please tell me if there is anything I can do or if something is expected
> from me regarding the patch before it's getting merged.

I'd encourage you to take a look at the picolibc changes and see if
those look useful. I'm hoping to have some time to work on pushing them
back to newlib as they'd be useful there as well.

> Btw, there are some cleanup I would like to do in this file as well, mostly
> regarding comments and tabs->spaces but I guess it's okay to send a new
> patch for that.

I've been avoiding whitespace-only changes; I know the formatting is
terrible, but fixing it means back-porting changes becomes very difficult.

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmCJpykACgkQ2yIaaQAA
ABHEFg//Ucoapk5ji7GGsPmOG0mr6OUhJ2wIHHBhFSzs7lypardU0K5DrJoDLOXB
sFLfV8JJCqJY2iqXUfOLFEhRLzIzGf6Hh2H6AZtt9T1NNPkNWntv/Xgh/KFqe+S5
7AaoUxtHcBL/M5JEEZ0qsriZ/DUrDEfl23Gwd3EgTIOwbHUcxr117RUOoGSzH5jK
OJMNQSLVA1d9lXity4pIK2B6odXfT8O65SN26DvPr2x0d0jVdnyX/RLJXhY9pKlf
HKGJO2wl2ppWvJgTJoNGk1FppG/8/baUh2989EgmtrYnNea8Li+rZ0niEf20kPjG
zhmLWJGVzsF2RDHIm6XnKt2yky7+l6WEdR3W+thsawxX4uWf3omjkRpeikdZWsZq
tOwU5qMR7Y/sV0qyP1GdgxZWxXUvXDV+5G0rgQ0K2m4WEkHaNJBlFe64zA2qT7Em
/OgVYi4X73+JEKADhm3Nu29O7TAqihAVLDH10Pkjb4D7jp3vIhK8T3AME1AoJHtQ
5g4CXVPU8DSkFqnsvb/lmcCb8zBp6wY0kuoQ8lwqArxQbI1EUV5nm71Cf+36kWVD
7T8JehFsMjFz+Qm8iVKVw8nAlDfcR+IJayONdp0/zzKX7ww7atK5BKOrWwvFYC6i
CZvmhWEHZ+UQEmPQ0r0jtmUZkknbywPm/E14o3mhiX5A4rVJJ8Q=
=i6OF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.