Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

33% Positive

Analyzed from 224 words in the discussion.

Trending Topics

#machine#linux#asynchronous#interesting#whether#bug#api#offer#intra#mostly

Discussion (8 Comments)Read Original on HackerNews

PeterWhittakerabout 1 hour ago
The asynchronous behaviour raises interesting questions as to whether or not this is a bug or working as intended, and whether or not the io_uring API should offer controls to allow the calling application to decide.

With synchronous intra-machine calls we mostly take it for granted that pending modifications die with the caller.

But with inter-machine communications we mostly take it for granted that the sending machine and its entire local area can disappear and operations it sent will complete.

Of course, there are exceptions, especially when APIs/systems offer atomicity, consistency checks, etc.

But without express design intent, or preferably caller intent, one can argue both sides of the asynchronous intra-machine case and be right.

I guess my thinking isn't so much that this happens as that it happens implicitly.

eivanov892 minutes ago
Thank you very much for a very nice annotation/summary and sharing your thoughts.
blackoilabout 2 hours ago
Is your process Hindu, Buddhist, Christian?
pianom4nabout 3 hours ago
The AI prose is painful.
collinstevens44 minutes ago
you can just feel it in your bones

> These are measured results backed by the Linux source, not a portable guarantee for every kernel, filesystem, device, or API called “AIO”.

> The interesting race window is there, but hard to see. So I made it larger.

eivanov899 minutes ago
I'm the author and I'm not native speaker, so please bear that in mind. However, I admit I've used AI for grammar and style. IMHO, the post is not fiction, I just wanted to communicate the ideas as clearly and effectively as possible.
charcircuitabout 1 hour ago
I feel like this is a Linux bug. Linux shouldn't cleanup a process until it has finished execution.
eivanov898 minutes ago
Jens Axboe, the io_uring author, promissed to address this on X next week: https://x.com/axboe/status/2095856971912028536?s=20 Stay tuned.