• [$] An instruction-level BPF memory model

    From LWN.net@1337:1/100 to All on Tue Jun 4 15:00:04 2024
    [$] An instruction-level BPF memory model

    Date:
    Tue, 04 Jun 2024 13:57:29 +0000

    Description:
    There are few topics as arcane as memory models, so it was a pleasant surprise when the double-length session on the BPF memory model at the Linux Storage, Filesystem, Memory Management, and BPF Summit turned out to be
    understandable. Paul McKenney led the session, although he was clear that the work he was presenting was also due to Puranjay Mohan, who unfortunately could not attend the summit.
    BPF does not actually have a formalized memory model yet;
    instead it has relied on a history of talks like this one and a general informal understanding.
    Unfortunately, ignoring memory models does not make them go away, and this has already caused at least one BPF-related bug on weakly-ordered architectures. Figuring out what a formal memory model for BPF should define was the focus of McKenney's talk.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/976071/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)