<?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 buddy.bpf.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>367e6e4a8173d47b4c57181cdd9dcbfc291755f0 - selftests/bpf: libarena: Directly return arena pointers from functions</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c#367e6e4a8173d47b4c57181cdd9dcbfc291755f0</link>
        <description>selftests/bpf: libarena: Directly return arena pointers from functionsNow that the __arena annotation includes a BTF type tag, and theverifier can identify arena pointers at BTF loading time, returnarena pointers as their true type instead of casting to u64. Remove thepreprocessor typecast wrappers used to hide this from the caller.Acked-by: Eduard Zingerman &lt;eddyz87@gmail.com&gt;Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;Link: https://lore.kernel.org/r/20260602004120.17087-6-emil@etsalapatis.comSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c</description>
        <pubDate>Tue, 02 Jun 2026 02:41:19 +0200</pubDate>
        <dc:creator>Emil Tsalapatis &lt;emil@etsalapatis.com&gt;</dc:creator>
    </item>
<item>
        <title>b9b23fe1761117f4a0109a25d16d337c900437ad - selftests/bpf: Remove __arg_arena from the codebase</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c#b9b23fe1761117f4a0109a25d16d337c900437ad</link>
        <description>selftests/bpf: Remove __arg_arena from the codebaseNow that BPF __arg_arena has been subsumed by __arena, remove__arg_arena from the codebase. This way the user has one fewerannotation to worry about.To remove __arg_arena we remove the typedefs we were previouslyusing to minimize __arena annotations. This is because __arenanow also includes a BTF type tag, which is ignored for non-pointertypes. As a result, we cannot capture the whole __arena annotationinside a typedef and need to directly annotate the pointer type whendeclaring the variable.The extra verbosity is worth it because the use of the __arena tagis intuitive to the programmer and removes the __arg_arena tag thathas been a consistent source of confusion for users. The typedefscan be reintroduced later (without __arg_arena) once compilers startsupporting BTF type tags for non-pointer types.Acked-by: Eduard Zingerman &lt;eddyz87@gmail.com&gt;Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;Link: https://lore.kernel.org/r/20260602004120.17087-5-emil@etsalapatis.comSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c</description>
        <pubDate>Tue, 02 Jun 2026 02:41:18 +0200</pubDate>
        <dc:creator>Emil Tsalapatis &lt;emil@etsalapatis.com&gt;</dc:creator>
    </item>
<item>
        <title>86426a28c52d756a5edbe29885716128b8915991 - selftests/bpf: Add buddy allocator for libarena</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c#86426a28c52d756a5edbe29885716128b8915991</link>
        <description>selftests/bpf: Add buddy allocator for libarenaAdd a byte-oriented buddy allocator for libarena. The buddyallocator provides an alloc/free interface for small arena allocationsranging from 16 bytes to 512 KiB. Lower allocations values are roundedup to 16 bytes. The buddy allocator does not handle larger allocationsthat can instead use the existing bpf_arena_{alloc, free}_pages() kfunc.Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;Link: https://lore.kernel.org/r/20260426190338.4615-7-emil@etsalapatis.comSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/buddy.bpf.c</description>
        <pubDate>Sun, 26 Apr 2026 21:03:36 +0200</pubDate>
        <dc:creator>Emil Tsalapatis &lt;emil@etsalapatis.com&gt;</dc:creator>
    </item>
</channel>
</rss>
