<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in malloc</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5f732742ad5b3133a860a8969cf2bd13dc9ac358 - libc: Add free_sized() and free_aligned_sized() as per C23</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/lib/libc/stdlib/malloc/#5f732742ad5b3133a860a8969cf2bd13dc9ac358</link>
        <description>libc: Add free_sized() and free_aligned_sized() as per C23Add C23 sized deallocation entry points as thin wrappers around free(3).Implementations may ignore size and alignment hints, so behaviour stayscorrect for existing allocations without validating caller metadata yet.When jemalloc is updated to 5.3.1, rewire these to je_free_sized() andje_free_aligned_sized() so deallocation can use the allocator&apos;s sizeddeallocation (free_sized for fast paths and free_aligned_sized forcorrect aligned hints.)Please note this change satisfies the standard interface only. Bothfunctions should be delegated to jemalloc after the upgrade so callersget the intended allocator behaviour; until then, hints are unused andneither sized nor aligned-sized deallocation optimizations apply.Signed-off-by:	Faraz Vahedi &lt;kfv@kfv.io&gt;Reviewed by:	fuzPull Request:	https://github.com/freebsd/freebsd-src/pull/2201MFC after:	1 month

            List of files:
            /freebsd/lib/libc/stdlib/malloc/Makefile.inc/freebsd/lib/libc/stdlib/malloc/Symbol.map/freebsd/lib/libc/stdlib/malloc/free_aligned_sized.c/freebsd/lib/libc/stdlib/malloc/free_sized.3/freebsd/lib/libc/stdlib/malloc/free_sized.c</description>
        <pubDate>Sat, 16 May 2026 20:00:00 +0200</pubDate>
        <dc:creator>Faraz Vahedi &lt;kfv@kfv.io&gt;</dc:creator>
    </item>
</channel>
</rss>
