logoalt Hacker News

fookertoday at 7:58 PM1 replyview on HN

If it's truly asynchronous, I don't see the issue with IO being decoupled from process lifetime.

If you wanted to stop the IO at process death, the mechanism needed for this would introduce an overhead that would likely slow things down in general.


Replies

eivanov89today at 8:05 PM

Note, that this also includes retaining process memory related to the I/O. In my experiment I used regular 4 KiB pages, which is smaller or equal to the I/O block size. However, in case of huge pages only a small fraction can be I/O related. And I suppose, that this small part would pin the whole page, which might have some sensitive information. Still protected, however, but who knows.