https://linen.dev/ logo
Join Discord
Powered by
# general
  • c

    creamy-advantage-22176

    07/11/2025, 4:44 PM
    👀 maybe another optimisation to do,
  • b

    better-helmet-21984

    07/11/2025, 4:45 PM
    eventfd isn't super performant
  • b

    better-helmet-21984

    07/11/2025, 4:45 PM
    but I suspect the answer is "it depends" 😉
  • b

    blue-flower-12209

    07/11/2025, 4:50 PM
    I just like removing the code that has to schedule the read
  • b

    blue-flower-12209

    07/11/2025, 4:50 PM
    That'll be nice
  • b

    better-helmet-21984

    07/11/2025, 5:11 PM
    https://git.kernel.dk/cgit/linux/log/?h=io_uring-send-full
  • b

    better-helmet-21984

    07/11/2025, 5:12 PM
    posting this here, return status on whether a file/socket/pipe/whatever was ready or not when read/write/send/recv/whatever was initially done on it
  • b

    better-helmet-21984

    07/11/2025, 5:12 PM
    should be useful for backpressure signaling on writes/sends
  • b

    better-helmet-21984

    07/11/2025, 5:12 PM
    other stuff in progress is a limit on multishot receives
  • b

    better-helmet-21984

    07/11/2025, 5:12 PM
    so you can do "recv multishot from this socket, but stop when XX bytes have been received"
  • b

    better-helmet-21984

    07/11/2025, 5:13 PM
    latter bits are being done by @better-arm-59593, will hopefully see the light of day soonish
  • b

    better-helmet-21984

    07/11/2025, 5:14 PM
    I need to get back into the groove of writing up the "here's what's new in kernel x.y.z" on the wiki again
  • b

    better-arm-59593

    07/12/2025, 7:29 AM
    OSS ftw!
  • c

    creamy-advantage-22176

    07/12/2025, 11:44 PM
    so I little thought has cross my mind
  • c

    creamy-advantage-22176

    07/12/2025, 11:45 PM
    with the
    RING_OP_FSYNC
    , is its behaviour the exact same as the syscall? Including the error behaviour
  • b

    better-helmet-21984

    07/13/2025, 1:18 AM
    it should be identical, yes
  • b

    blue-flower-12209

    07/14/2025, 3:08 PM
    @quiet-vase-51687 thanks for the ping about the musl CI builds btw. I really appreciate that
  • b

    blue-flower-12209

    07/14/2025, 3:08 PM
    Never pulled in a Rust toolchain with musl before so this should be interesting to get working
  • b

    blue-flower-12209

    07/14/2025, 9:36 PM
    oh wow, turns out alpine is terrible
  • b

    blue-flower-12209

    07/14/2025, 9:37 PM
    Can't even dynamically link to something
  • b

    blue-flower-12209

    07/14/2025, 9:37 PM
    Oh boy. At least there's docker
  • b

    blue-flower-12209

    07/14/2025, 9:37 PM
    But, man
  • c

    creamy-advantage-22176

    07/14/2025, 9:37 PM
    alpine is indeed terrible!
  • c

    creamy-advantage-22176

    07/14/2025, 9:37 PM
    the default musl allocator also sucks pretty hard for anything performance related
  • k

    kind-finland-96236

    07/14/2025, 10:52 PM
    huh, are you saying dynamic linking isn't supported with alpine?
  • k

    kind-finland-96236

    07/14/2025, 10:52 PM
    that sounds wrong
  • b

    blue-flower-12209

    07/14/2025, 10:55 PM
  • b

    blue-flower-12209

    07/14/2025, 10:55 PM
    Copy code
    thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.71.1/lib.rs:604:27:
      Unable to find libclang: "the `libclang` shared library at /usr/lib/libclang.so.12 could not be opened: Dynamic loading not supported"
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  • k

    kind-finland-96236

    07/14/2025, 11:09 PM
    Hmm seems like musl doesn't support static binaries + dlopen
  • b

    blue-flower-12209

    07/14/2025, 11:36 PM
    gg wp rust