TIL about memfd_create, a Linux syscall that lets you open an fd referring to an anonymous memory-backed file https://dvdhrm.wordpress.com/tag/memfd/
-
-
Replying to @whitequark
a) you don't need to have a tmpfs mount anywhere or to care about name clashes, b) you can "seal" memfds against writes or size changes
1 reply 0 retweets 2 likes -
Replying to @whitequark
so if you communicate between two processes using a sealed memfd, you never have to care about SIGBUS suddenly happening!
2 replies 0 retweets 3 likes -
-
Replying to @whitequark
Then mmap on regular files would actually be useful.
4:22 AM - 15 Jun 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.