<?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 bitmap.bpf.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5a8cd539ac19f7a68e68e1d25ef9ca2ff55b8500 - Merge tag &apos;bpf-next-7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#5a8cd539ac19f7a68e68e1d25ef9ca2ff55b8500</link>
        <description>Merge tag &apos;bpf-next-7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPull bpf updates from Daniel Borkmann: &quot;Major changes:   - Redesign the verifier error reporting: failures now carry source     and instruction annotations along with the causal event history     that led to them, making program rejections far easier to debug and     repair (Kumar Kartikeya Dwivedi)   - Add arena argument support to kfuncs and struct_ops through the new     __arena and __arena__nullable suffixes (Tejun Heo, Puranjay Mohan,     Kumar Kartikeya Dwivedi, Ihor Solodrai)   - Signed BPF program loader rework to accommodate both BPF and     security community needs where the kernel runs the signature     verification at BPF_PROG_LOAD time before the LSM admission hook     (Daniel Borkmann)   - Add a set of ksock kfuncs which let BPF LSM and syscall programs     create, connect and send on UDP sockets in order to emit telemetry     data (Mahe Tardy)   - Unify helper and kfunc call argument verification and classify     kfunc arguments purely from BTF into a generated bpf_func_proto     which is computed once at add-call time (Amery Hung)  Other features and fixes:   - Enable EXECMEM_ROX_CACHE for BPF allocations on x86 (Mike Rapoport)   - Add bidirectional VLAN support to bpf_fib_lookup() through the new     BPF_FIB_LOOKUP_VLAN and BPF_FIB_LOOKUP_VLAN_INPUT flags (Avinash     Duduskar)   - Infer zext_dst from static register liveness analysis to fix 32-bit     zero-extension semantics, and remove the artificial limitations on     pointer types eligible for spilling (Eduard Zingerman)   - Inline the numeric open-coded iterator kfuncs so that bpf_for()     loops no longer pay a kfunc call on every iteration (Puranjay     Mohan)   - Add an arena-based bitmap data structure to libarena along with     serial and parallel selftests (Emil Tsalapatis)   - Teach resolve_btfids to discover kfuncs from the kernel&apos;s BTF ID     sets and to emit kfunc BTF decl tags, reducing the kernel build&apos;s     dependency on pahole features (Ihor Solodrai)   - Add BPF_F_ADJ_ROOM_DECAP_* flags to bpf_skb_adjust_room() so that     tunnel decapsulation can update the GSO and encapsulation state of     the skb (Nick Hudson)   - Fix the ring buffer pending_pos walk and the available-data     accounting on 32-bit position wrap (Israel T&#233;llez Garc&#237;a)   - Add memory usage accounting for arena maps and fix an mmap_lock     deadlock on arena lock failure (Jiayuan Chen)   - Add tracing_multi link info support to the kernel UAPI and bpftool,     and refactor the stack map code to run with preemption disabled     (Jiri Olsa)   - Support BPF_F_EGRESS in bpf_redirect_peer() to emit the skb in the     egress direction of the target&apos;s peer device (Jordan Rife)   - Add a KF_SPINLOCK_SAFE kfunc flag so that providers, in particular     modules, can declare kfuncs safe to call under bpf_spin_lock     instead of relying on the verifier&apos;s hard-coded allowlist (Kaitao     Cheng)   - Introduce global percpu data for BPF programs with libbpf probing     and bpftool skeleton support, and stop exposing uninitialized     kernel heap memory when copying per-CPU map values (Leon Hwang)   - Add s390 JIT support for load-acquire and store-release     instructions (Maxim Khmelevskii)   - Fix a CFI mismatch in the task work callback and an arm64 KASAN     false positive after bpf_throw() (Mykyta Yatsenko)   - Reject writes through untrusted BTF pointers and bound the     rdonly/rdwr_buf_size kfunc arguments (Nicholas Dudar)   - Invalidate RCU pointers only after the final spin unlock and     account for preempt and IRQ disabled regions as overlapping RCU     protection (Ning Ding)   - Support mixing bpf2bpf calls and tail calls on RV64, add signed     operations and 32-bit atomics to the RV32 JIT, and add timed     may_goto support (Pu Lehui, Kuan-Wei Chiu, Feng Jiang)   - Fix a use-after-free on mm_struct in bpf_find_vma() for foreign     tasks and an mmap_lock leak in the irq_work path (Sanghyun Park)   - Populate mmap-able BPF array map memory lazily which makes mmap()     O(1) instead of proportional to the map size (Song Liu)   - Introduce a jit_required flag and reject programs with inlined     helpers when no JIT is available, where the interpreter would     otherwise jump into an invalid address (Tiezhu Yang)   - Fix the x86 JIT per-CPU address resolution into an extended     register where the REX prefix dropped the high destination register     bit (Vineet Gupta)   - Reject MEM_ALLOC BTF accesses past object bounds, arena frees below     the arena base, and mixed arena and ordinary atomic paths (Yiyang     Chen)   - Fix the trampoline handling of 128-bit arguments and of return     values larger than 8 bytes (Yonghong Song)   - Ensure that any fault prone load is rewritten with exception table     handling, and fix the arena load-acquire and atomic fetch handling     in the x86, arm64, riscv and s390 JITs (Daniel Borkmann)   - Many more fixes and cleanups across the verifier, arena,     trampolines, sockmap, cgroup, ring buffer, x86/arm64/riscv/s390     JITs, libbpf, bpftool, resolve_btfids and selftests&quot;* tag &apos;bpf-next-7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (373 commits)  selftests/bpf: Add tests for a store on a fault prone qdisc pointer  selftests/bpf: Add tests for fault prone loads out of RCU pointers  selftests/bpf: Add tests for pointer type merge at a shared load  selftests/bpf: Remove duplicate copies of the arena spinlock qnodes  selftests/bpf: Retry stat generation in cgroup_iter_memcg  selftests/bpf: Test pseudo-function policy diagnostics  bpf: Distinguish function references in policy diagnostics  bpf: Preserve source attribution without source text  selftests/bpf: Test kfunc argument diagnostics  bpf: Correct kfunc argument diagnostics  bpf: Use canonical stack argument names in diagnostics  bpf: Preserve R0 lineage across helper calls  selftests/bpf: Exercise negative optlen in cgroup getsockopt hook  bpf: Reject negative optlen in cgroup getsockopt hook  selftests/bpf: tc_tunnel - validate decap GSO and encapsulation state  bpf: Clear decap state on skb_adjust_room shrink path  bpf: Allow new DECAP flags and add guard rails  bpf: Add BPF_F_ADJ_ROOM_DECAP_* flags for tunnel decapsulation  bpf: Refactor masks for ADJ_ROOM flags and encap validation  bpf: Name the enum for BPF_FUNC_skb_adjust_room flags  ...

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Thu, 20 Aug 2026 16:36:20 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>fab183d632628381b466a41479489541ac0e29a0 - sched_ext: Merge branch &apos;for-7.3-arena-args&apos; into for-7.3</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#fab183d632628381b466a41479489541ac0e29a0</link>
        <description>sched_ext: Merge branch &apos;for-7.3-arena-args&apos; into for-7.3Pull to receive the __arena argument conversion: 67f1f4a48c24 (&quot;sched_ext: Pass kernel arena pointers to ops_cid callbacks&quot;) a8dc810968af (&quot;sched_ext: Convert sub-cap kfuncs to __arena cmask arguments&quot;) a05c5b5cb5cf (&quot;sched_ext: Convert scx_bpf_cid_override() to __arena array arguments&quot;)along with the bpf-next branch carrying the __arena argument support theydepend on.Conflict in kernel/sched/ext/ext.c between: c384ab8a0b13 (&quot;sched_ext: Move the config-off sub-cap kfunc stubs into sub.c&quot;)and: a8dc810968af (&quot;sched_ext: Convert sub-cap kfuncs to __arena cmask arguments&quot;)which updated the stubs in their old ext.c location. Resolved by keepingext.c without the stubs and applying the prototype conversion to therelocated stubs in sub.c.Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Mon, 17 Aug 2026 23:20:34 +0200</pubDate>
        <dc:creator>Tejun Heo &lt;tj@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>872a8f6b08069d1b4bfb9bf968dc629ab6998908 - Merge branch &apos;master&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next into for-7.3-arena-args</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#872a8f6b08069d1b4bfb9bf968dc629ab6998908</link>
        <description>Merge branch &apos;master&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next into for-7.3-arena-argsPull bpf-next d114bb989367 (&quot;Merge branch&apos;add-arena-argument-support-to-kfuncs-and-struct_ops&apos;&quot;) to make the __arenaand __arena__nullable kfunc and struct_ops argument suffixes available. Thesuffixed arguments will be used to convert sched_ext kfuncs and struct_opscallbacks that currently pass arena pointers as scalars and rebase them byhand.

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Tue, 11 Aug 2026 00:38:03 +0200</pubDate>
        <dc:creator>Tejun Heo &lt;tj@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ee1bcf8271eb2e1d191bf97348ddf823c6071fa9 - selftests/bpf: Rename libarena struct bitmap to struct arena_bitmap</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#ee1bcf8271eb2e1d191bf97348ddf823c6071fa9</link>
        <description>selftests/bpf: Rename libarena struct bitmap to struct arena_bitmapWhen building bpf selftest with latest bpf-next, I got the following failure:  In file included from /home/yhs/work/bpf-next/tools/testing/selftests/bpf/libarena/selftests/test_parallel_bitmap.bpf.c:8:  /home/yhs/work/bpf-next/tools/testing/selftests/bpf/libarena/include/libarena/bitmap.h:11:8: error: redefinition of        &apos;bitmap&apos;     11 | struct bitmap {        |        ^  /home/yhs/work/bpf-next/tools/testing/selftests/bpf/tools/include/vmlinux.h:51320:8: note: previous definition is here   51320 | struct bitmap {         |        ^The vmlinux.h struct bitmap comes from drivers/md/md-bitmap.c:  struct bitmap {	struct bitmap_counts { ... }	...  }To fix the issue, I renamed libarena struct bitmap to arena_bitmap to avoid the conflict.Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Reviewed-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;Link: https://lore.kernel.org/bpf/20260707220136.910374-1-yonghong.song@linux.devSigned-off-by: Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Wed, 08 Jul 2026 00:01:36 +0200</pubDate>
        <dc:creator>Yonghong Song &lt;yonghong.song@linux.dev&gt;</dc:creator>
    </item>
<item>
        <title>a58999f9a9ba620593d015981057330de8c56971 - Merge branch &apos;selftests-bpf-libarena-cleanup-and-bitmap-struct&apos;</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#a58999f9a9ba620593d015981057330de8c56971</link>
        <description>Merge branch &apos;selftests-bpf-libarena-cleanup-and-bitmap-struct&apos;Emil Tsalapatis says:====================selftests/bpf: libarena cleanup and bitmap structCleanup patches for libarena, along with a new bitmap data type that isin use by sched-ext. Patch 1 is an NFC that properly renames the buddyselftests for consistency. Patch 2 fixes the zero variable used inlibarena for can_loop based looping, and afterwrds removes all bpf_for()instances from the code. Patch 3 fixes an (untriggered) edge case thatcould cause spurious selftest failures. Finally, patches 4 to 6introduce the bitmap data structure along with selftests.Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;CHANGELOG=========v3 was resent as the first submission was missing the first patch.v2 -&gt; v3: (https://lore.kernel.org/bpf/20260701185235.4516-1-emil@etsalapatis.com)- Remove unused macros and fix typo in commit message (AI)v1 -&gt; v2: (https://lore.kernel.org/bpf/20260618085626.19633-1-emil@etsalapatis.com)- Added acks by Ihor and Eduard- Fix missing commit message (Ihor)- Enforce 64 bits per cell with BITS_TO_LONG_LONG (Sashiko)- Add test for bmp_copy (Ihor)- Add atomic versions of _set() and _clear() (Ihor) and add a parallel  selftest for them.====================Link: https://patch.msgid.link/20260706181730.21731-1-emil@etsalapatis.comSigned-off-by: Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Mon, 06 Jul 2026 21:00:33 +0200</pubDate>
        <dc:creator>Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>5a93b10f6c47a55d6b578983ca76d98b8ae3d268 - selftests/bpf: Add arena-based bitmap data structure</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c#5a93b10f6c47a55d6b578983ca76d98b8ae3d268</link>
        <description>selftests/bpf: Add arena-based bitmap data structureAdd an arena-based word-aligned bitmap data struture. Thestructure is useful as a building block, e.g., sched-extuses it to represent cpumask structures.Signed-off-by: Emil Tsalapatis &lt;emil@etsalapatis.com&gt;Link: https://lore.kernel.org/bpf/20260706181730.21731-5-emil@etsalapatis.comSigned-off-by: Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/libarena/src/bitmap.bpf.c</description>
        <pubDate>Mon, 06 Jul 2026 20:17:28 +0200</pubDate>
        <dc:creator>Emil Tsalapatis &lt;emil@etsalapatis.com&gt;</dc:creator>
    </item>
</channel>
</rss>
